Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp sql question
Message
De
25/09/2000 16:16:13
 
 
À
25/09/2000 12:29:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00420493
Message ID:
00420640
Vues:
15
>I am trying to select distinct records from a sql statement in vfp.
>But the distinct keyword only works on the whole record.
>My question is there a way to limit records by a distinct column in vfp6.0? Thanks Eric

SELECT field1, field2, field3
FROM MyTable
WHERE field1 in (SELECT DISTINCT field1 FROM MyTable)

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform