Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Select Statement

Status
Not open for further replies.
May 25, 2003
24
AU
I've discovered several "sku numbers" using different "upc numbers" in my database. I'm looking for a select statement that would list all the "sku numbers" that are used more than once. Thanks in advance
 
you'll have to show your data structure...
Code:
select sku,
count(sku)
from table
group by sku
having count(sku) > 1

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top