Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>>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.
>
>I don't understand what you're getting at here. Can you post a simple SELECT and data (5 fields, 5 rows, say) that show what you mean?
I can't, because I don't even know if there IS a bug with CNT() and GROUP BY. I was simply 'extending' based on Tamar's example.
Can you supply an example (not necessarily code) of what you meant as regards there being no record in your prior?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement