Expression help

  • Thread starter Thread starter KYJVKG via AccessMonster.com
  • Start date Start date
K

KYJVKG via AccessMonster.com

I have a table that shows all orders placed by the company.

I would like to create a query to only show products purchased from multiple
vendors.

my fields are vendor name and line description.

can someone help me with an expression that will allow me to do this?
 
SELECT [line description], Count([vendor name]) as NumVendors
FROM [YourTable]
GROUP BY [line description]
HAVING Count([vendor name]) > 1
ORDER BY [line description] ;
 

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