Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql to find duplicates
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00811118
Message ID:
00811332
Vues:
13
Use SELECT COUNT(*), field FROM whateverdb GROUP BY field

The cnt_ column in the result will tell you how many times a data item is repeated in this field; a 2 obviously means a duplicated item, more than 2 means multiples of this item, 1 means singular instance of item. HTH. /psb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform