Da kam ne Fehlermeldung "blabla ... must habe it's own key".
So klappt es:
SELECT COUNT(*) AS anzahl, f FROM (SELECT freund1 f FROM freunde
UNION ALL
SELECT freund2 f FROM freunde) AS tabelle
GROUP BY f
ORDER BY f DESC;
Danke für Eure schnelle Hilfe :-)
Jetzt muss ich nur noch ne User-Tabelle draufjoinen ;-)
Das schaff ich bestimmt :-)