Select results from the middle of a sorted list?

I have a simple table with 300 rows, and after ordering it, I want to select rows 11-50. Will I limit myself to 50 and somehow delete the top 10 lines?

+5
source share
2 answers
SELECT * 
FROM table
ORDER BY somecolumn
LIMIT 10,40 

MySQL:
LIMIT , SELECT. LIMIT , ( , ).
, . 0 ( 1)

+7

LIMIT , :

LIMIT 10, 40

... 11-50, ( 1).

+4

All Articles