Fehler beim Query : Select count(a.autorid) from zi_autor a where ((date_format(a.geburtsdatum,'%e') = and date_format(a.geburtsdatum,'%c') = and GeburtsCa = 0) or (date_format(a.Sterbedatum,'%e') = and date_format(a.Sterbedatum,'%c') = and SterbeCa = 0)) order by a.Sortierung, 0,