In the query below:
SELECT column
FROM table
LIMIT 18 OFFSET 8
how many results will we get as output and from where to where?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It will return 18 results starting on record #9 and finishing on record #26.
Start by reading the query from
offset. First you offset by 8, which means you skip the first 8 results of the query. Then you limit by 18. Which means you consider records 9, 10, 11, 12, 13, 14, 15, 16….24, 25, 26 which are a total of 18 records.Check this out.
And also the official documentation.