Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP8 GROUP BY Restriction
Message
 
 
À
28/05/2003 11:05:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00793077
Message ID:
00793531
Vues:
26
>Hi Sergey,
> I think I understand. So are you saying that SELECT DISTINCT only eliminates rows for which all columns are the same?
>
> I thought that the statement:
>SELECT DISTINCT ColumnA ColumnB
>would return only 1 row for each unique value of ColumnA.
>
>Are you saying it would return 1 row for each unqiue value of ColumnA and ColumnB?
>
>Thanks, Chaim

Yes, it will return row for each unique combination of ColumnA and ColumnB. It's the same as doing GROUP BY ColumnA,ColumnB
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform