Created
October 6, 2018 16:03
-
-
Save jayden-lee/8e19d50492eb09be9c7543351c3e368e to your computer and use it in GitHub Desktop.
[MySQL] SELECT 문에서 Limit 사용법
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 데이터 10 개만 조회하기 | |
SELECT title, content, writer FROM board LIMIT 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 11번째 해당하는 행부터 10개 조회하기 | |
SELECT title, content, writer FROM board LIMIT 10, 10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment