select count(*), sku
from sku_table
Group BY sku
Having count(*) >1

-----Original Message-----
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 19, 2003 7:40 AM
To: CF-Talk
Subject: SQL Question: (Brainfart Saturday...)


Morning all...

I have a list of about 6000 skus. Say the SKU numbers look like this:

1
2
3
3
4
5
6
6
7
7
7
7
8
9
10

Basically, I want to write a SQL query to find all occurrences of the
duplicate SKU values. Is there any way to make the SQL server do the
filtering and not CF?

TIA...Ch�



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to