Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Help?
Message
From
14/08/1997 21:39:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL Help?
Miscellaneous
Thread ID:
00044834
Message ID:
00044834
Views:
83
Can someone help me with the SQL to find duplicate records in a table where a duplicate is considered two out of five matching fields? I thought:
SELECT * ;
FROM table;
WHERE keyfield IN ;
(SELECT keyfield ;
FROM tablel ;
GROUP BY keyfield, field2;
HAVING count(*) > 1)
would do the trick, but it doesn't work. TIA

Erik
Erik Moore
Clientelligence
Next
Reply
Map
View

Click here to load this message in the networking platform