select username
from usertabelle,eintragstabelle
where eintrageintragstabelle.userid=userusertabelle.userid
group by usertabelle.username,usertabelle.userid
order by count(Eintrag.id);
Hmpf... Schon blöd, wenn man nicht ordentlich nachsieht, bevor man das wegschickt.
Select username
From Usertabelle,Eintragstabelle
Where Eintragstabelle.userid=Usertabelle.userid
Group By Usertabelle.username,Usertabelle.userid
Order By Count(Eintragstabelle.id);
MfG Mero