Hi,
select bezeichnung,count(bezeichnung) from tbl where x = 3 group by bezeichnung into @res, @Bezeichnung_Count;
>
das funzt auch nicht:
ERROR 1172 (42000): Result consisted of more than one row
hab auch schon einiges probiert, bekomms einfach nicht hin...