Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL help needed: finding only duplicate values
Message
De
03/06/1997 11:28:27
 
 
À
03/06/1997 11:20:18
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00034711
Message ID:
00034755
Vues:
39
>>>I have a table that includes these three fields: soc_sec_num, activate_code, and ded_code. I need to find only the duplicate records where the soc_sec_num, activate_code, and ded_code are the same.
>>>
>>>Can anbody help with the SQL to do this?
>>>
>>>Thanks!
>>>
>>>Jeff
>>
>>Select * From yourtable Group By soc_sec_num, activate_code, ded_code Having Count(*)>1
>
>
>great !!!

It is the most common question someone can meet going to interview for Foxpro position.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform