> > SELECT wasDuWillst FROM tabelle GROUP BY Gruppe HAVING MAX(Alter)
> 
> Oh mann.... Ich sollte kein SQL nach dem aufstehen schreiben...
> *kopfsch�ttel*

Also nochmal...

SELECT wasDuWillst FROM tabelle GROUP BY Gruppe HAVING MAX(Alter)=Alter

Das liefert allerdings alle �ltesten pro Gruppe...
Wenn also 2 gleich alt sind, dann bekommst du beide...

Claudius

~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~
Kaffeepause im United Planet Communityserver ...
http://www.intrexx.com/communityserver                         
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an