Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding duplicate not working
Message
De
10/11/2003 12:50:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00848361
Message ID:
00848410
Vues:
15
I do it in two steps
SELECT ssn, COUNT(*) as countssn ;
FROM sometabl ;
GROUP BY ssn ;
INTO CURSOR dupessns

SELECT custname, amt, ssn ;
FROM sometabl ;
WHERE ssn IN (SELECT ssn from dupessns) ;
ORDER BY ssn

>Thanks, that returned a count of how many. I don't suppose there is a way to list those returned rows with name and amt along with the found duplicate ssn?
>
>Thanks
>Nick Patel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform