Hallo,
» mache ich doch? Also mit GROUP BY 1 gruppiere ich noch nach YEAR(date)?
Ach, sieh an, nicht nur beim ORDER BY kann man die Spaltenposition angeben, auch beim GROUP BY.
und das Handbuch meint dazu:
<zitat>
Use of column positions is deprecated because the
syntax has been removed from the SQL standard.
</zitat>
Freundliche Grüße
Vinzenz