Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL help needed: finding only duplicate values
Message
From
03/06/1997 11:37:33
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
03/06/1997 11:28:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00034711
Message ID:
00034758
Views:
37
>>>>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..
Previous
Reply
Map
View

Click here to load this message in the networking platform