access query help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

im trying to set the criteria in a query to only show the top ten numbers of
a column. what's the command i need to use? im using access 2000.
 
im trying to set the criteria in a query to only show the top ten numbers of
a column. what's the command i need to use? im using access 2000.


The SQL would be something like:
SELECT TOP 10 [COLUMN]*
FROM

ORDER BY [COLUMN] DESC;
 
im trying to set the criteria in a query to only show the top ten numbers of
a column. what's the command i need to use? im using access 2000.

Kerry's SQL will work fine; another way to do the same thing is to right
mouseclick in the query design grid (on the grey background of the table
window), view the query's Properties, and set the Top Values property to 10.
Make sure you're sorting by the desired column.

John W. Vinson [MVP]
 

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

Back
Top