Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL to display duplicate rows only
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00837035
Message ID:
00837041
Vues:
79
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform