Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanning for Duplicates
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00825060
Message ID:
00825081
Vues:
20
Neil,

You need both columns in the result and the group by.
select mainkey, no_in_row, count(*) as cnt ;
   from ...
   group by mainkey, no_in_row ;
   having cnt > 1
>This only gives me the count of how many records for each mainkey?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform