Problem 4 - Termine nicht ge÷ffnet
select t.* from termine as t join kalendername as kn on (t.KN_ID=kn.KN_ID) join kalender_gruppe as kg on (kn.KG_ID=kg.KG_ID) where (TerminDatum = '2018-03-16') and (kn.KN_ID IN (21,22,24,25,26,28,29,31,40,41,42,43,44,45,49)) and (kg.KG_ID IN ()) order by TerminDatum, TerminZeitYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) order by TerminDatum, TerminZeit' at line 6