How to display the next 10 records of data

G

Guest

Can someone please help me!!!

In order to select the first 5th records of data with Access, we use TOP 5.
However, I want to display for example:
The next 10 records of data starting from the 5th records.

Does anyone has any ideas?

Thanks
 
C

Chris2

zoya23 said:
Can someone please help me!!!

In order to select the first 5th records of data with Access, we use TOP 5.
However, I want to display for example:
The next 10 records of data starting from the 5th records.

Does anyone has any ideas?

Thanks

zoya23,

The basic example:

SELECT TOP 10 *
FROM MyTable AS M1
WHERE M1.MyTableID NOT IN
(SELECT TOP 5 *
FROM MyTable AS M2);

Modify to suit.


Sincerely,

Chris O.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top