Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL GROUP BY Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01082935
Message ID:
01082947
Vues:
8
>When there is no ORDER BY clause, the GROUP BY clause seems to cause the records to be
>returned ordered by the group column.
>
>I don't see this in the docs. Is this the correct behaviour?

Yes because VFP implement GROUP BY with a ORDER BY loop.

Then:
with  GROUP BY <x><y> ORDER BY <x>
you can remove ORDER BY and to save some ms.

Despite someone says that this is not documented,
I don't believe someone succeeds in finding an against example.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform