Query Criteria

  • Thread starter Thread starter PL
  • Start date Start date
P

PL

Hi
I wish to find the 10 cheapest products from a long table of products. After
creating a Query, but what expression do I enter under the Criteria?

Thanks
 
You would sort ascending on product price. Then right click on a blank area
of the query grid and choose Properties. On the Property sheet, select Top
Values then type in 10. The SQL of the query will look something like:

SELECT TOP 10 *
FROM tblProducts
ORDER BY Price;

Be aware that if there are duplicate prices, you may get more than 10
answers.
 

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

Similar Threads


Back
Top