Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GROUP BY 1 no longer works
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00750415
Message ID:
00754751
Vues:
14
>>2) The GROUP BY could have been fixed by ensuring that all fields INCLUDING inherent
>>"field function" values were properly sourced from the correct record.
>
>Jim, the whole point of that change is that THERE IS NO CORRECT RECORD when using GROUP BY. It's completely ambiguous.

Sorry, Garrett, but I don't understand what you mean here. Tamar provided a simple example and in that case the MIN() value came from a different record than the other value. In the case of a CNT(*) I would expect that the "correct" record would be one where ALL other non-field-function values in the SELECT are the same regardless of whether they are in the GROUP BY or not.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform