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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Identify dublicates..? 1

Status
Not open for further replies.

kenjoswe

Technical User
Joined
Sep 19, 2000
Messages
327
Location
SE
Hi all,

How can I identify all dublicates in a table?
Example:

Field1 Field2 Field3
A B C
A B A
A A A
A B C


Here is the combination A, B, C a dublicate
How can I do this in SQL-syntax?

/Kent J

 

Select field1, field2, field3
From table
Group By field1, field2, field3
Having count(*)>1
Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top