Aqua: MySQL - Ein Error mit GROUP BY ?!?

Beitrag lesen

Hallo!

Das da geht:
SELECT *  FROM foo f LEFT OUTER join bar b on f.id = b.f_id;

Das geht nicht:
mysql> select f.name, COUNT(b.name) from foo f left outer join bar b on f.id = b.f_id;
ERROR 1140: Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause
mysql>

Warum will der eine GROUP BY  Clause haben?
Was macht das Ding?

Ich versteh das GROUP BY nicht in _diesem_  Fall (siehe error)

Danke!
Aqua