Select partnumber, partname, count(partnumber) as NumTimes from myTable group by partnumber, partname having count(partnumber) >1 order by count(partnumber) desc
HTH On Tue, Dec 10, 2013 at 2:20 PM, Desmond Lloyd <[email protected]>wrote: > Probably a little basic, but darned if I can figure this one out... > > 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. > > Can select distinct and can see that there are less distinct than there are > in the original table. > > Would someone please recommend a method to do this? > > Dazed and confused in Texas, > Regards, > Desmond > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ 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/CAJidMYLu8xfsyNSWv7BXsiFfC8kZKuoKQYzUxQ0q=z1t3qt...@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.

