selecting items that come after a specific value

后端 未结 2 1819
臣服心动
臣服心动 2021-01-28 19:00

Say this is my sql:

  SELECT title,
         author,
         ISBN 
    FROM bs_books 
ORDER BY ISBN 
   LIMIT 3

It just selects everything fr

2条回答
  •  长发绾君心
    2021-01-28 19:07

    You can use OFFSET somenumber to start at a given numeric position. Maybe that's also ok for you?

    If there is a primary key with auto-increment, you can do something like WHERE pk>=somenumber.

提交回复
热议问题