Fast richtig.
Du musst im group by alle Spalten angeben die im Select keine Aggregation haben.
Also spalte1, 3, 4