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:37:33
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
03/06/1997 11:28:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00034711
Message ID:
00034758
Vues:
35
>>>>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.

That means, I will be failed....

Actually I am very weak in SQL and article which was provided in KB recently has improved it somewhat..
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform