Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GROUP BY 1 no longer works
Message
De
20/02/2003 00:29:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
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:
00755347
Vues:
36
>Dragan,
>
>>Frankly, I'd accept first or last, if only it was sure to behave the same each time.
>>
>>This was always a gray area, but then for the cases where you wanted one of the values for that field (and didn't really care which), this was a nice loophole.

>
>If you don't care what values are in those fields, you can wrap them into MIN() or MAX() function to make query valid.

The more I think about the cases when I needed this, the harder it is to remember them. I had to solve one using TSQL recently, and after the initial puzzlement over the "either in an aggregate function or in the Group By" requirement, I rethought the problem and solved it the way it is done now.

And it seems that I already think that way - that's called progress :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform