In Access97 SQL how do I return a range of rows?

后端 未结 2 1690

I have an Access97 database (unfortunately) and I am querying it over ODBC.

I want to construct a query that will return me J ordered rows starting at offset K. Rig

2条回答
  •  悲哀的现实
    2021-01-06 18:31

    You can use TOP with Not In and a TOP subquery:

     SELECT TOP n ... ID Not In (SELECT TOP k ...) 
    

    It will probably be faster than trying to number rows in Access

提交回复
热议问题