Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Help?
Message
De
14/08/1997 21:39:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL Help?
Divers
Thread ID:
00044834
Message ID:
00044834
Vues:
81
Can someone help me with the SQL to find duplicate records in a table where a duplicate is considered two out of five matching fields? I thought:
SELECT * ;
FROM table;
WHERE keyfield IN ;
(SELECT keyfield ;
FROM tablel ;
GROUP BY keyfield, field2;
HAVING count(*) > 1)
would do the trick, but it doesn't work. TIA

Erik
Erik Moore
Clientelligence
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform