On Tue, Dec 10, 2013 at 3:20 PM, Desmond Lloyd <[email protected]>wrote:
> > Have a table approximately 3000 records, part number, description etc. > that kind of thing. Well in some cases the part number is listed multiple > times and I need to determine what records are duplicated. > > SELECT PartNo, COUNT(*) as HowMany FROM TableName GROUP BY HowMany HAVING HowMany > 1 will list only the duplicate part numbers. -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CACW6n4uXCwcmk7wxkf-McZ1i7Dewfuw=jfjv1rdrbcgycys...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

