|
[MySQL] Problem mit Union
Hi,
folgende Abfrage:
(SELECT COUNT(*) anzahl, x as col
FROM table
GROUP BY col_1)
UNION
(SELECT COUNT(*) anzahl, y as col
FROM table
GROUP BY col_2)
ORDER BY col ASC
Jetzt würde ich die spalte col erneut gruppieren + count... geht sowas?
|