select the TOP N rows from a table

后端 未结 5 1725
谎友^
谎友^ 2020-12-13 06:35

I am making some paging, and I need to make some query and get the result form defined slicing . for example: I need to get all \"top\" rows in range 20n < x < 40n et

5条回答
  •  隐瞒了意图╮
    2020-12-13 06:51

    you can also check this link

    SELECT * FROM master_question WHERE 1 ORDER BY question_id ASC LIMIT 20

    for more detail click here

提交回复
热议问题