Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL to display duplicate rows only
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00837035
Message ID:
00837041
Views:
77
Bill,

You could ty something like:
SELECT myKey, Count(*) AS Counter;
FROM MyTable;
GROUP BY myKey;
HAVING Counter > 1
to get all duplicate rows in the table


Cheers,

Zoran

>What's the SQL command to display only the duplicate rows in a table?
Previous
Reply
Map
View

Click here to load this message in the networking platform