Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Distinct and Aggregate Functions
Message
De
18/10/2000 17:31:21
 
 
À
18/10/2000 16:46:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00431161
Message ID:
00431195
Vues:
15
My Understanding of Distinct is that it forces each record being included in the result set to compare itself to the rest of the records in the result set and only add itself if there are no other matches existng. With the sql example you showed, I would think you'd have to write two SQL statements. The first would give you your distinct list and then your second would give you the sum and counts when you pull it from your first result set.

Dave
David Denning
ded@kirtlandsys.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform