I have a table similar to the northwind products table.
The difference is that I have products that may be supplied by multiple
supplier. (i.e. there may be two or more rows that have the same product
name, with different supplier,price, etc.)
I need the following queries:
1. Show rows of all products that only have one supplier.
2. Show rows of all products that have multiple suppliers, but only
show the 'preferred' supplier. (preferred is determined by lower
purchase price)
Thanks
dito
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
The difference is that I have products that may be supplied by multiple
supplier. (i.e. there may be two or more rows that have the same product
name, with different supplier,price, etc.)
I need the following queries:
1. Show rows of all products that only have one supplier.
2. Show rows of all products that have multiple suppliers, but only
show the 'preferred' supplier. (preferred is determined by lower
purchase price)
Thanks
dito
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment