I need the last 20 records of a specific individual

P

Peter van der Goes

Deacon said:
How would I code a query to retrieve only the last 20 records of a
specific person?

You can use something like this:

SELECT TOP 3 * FROM tblTransactions ORDER BY fldTransactionDate;

which returns the three rows with the earliest transaction dates. Adapt to
your table and field names.
 

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