Er is een database fout opgetreden.

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '92 Eewal 92 FROM agendatypes WHERE EXISTS(SELECT id FROM agenda WHERE a' at line 1

SELECT DISTINCT id, title_Galerie 92 Eewal 92 FROM agendatypes WHERE EXISTS(SELECT id FROM agenda WHERE agenda.agendatype_id = agendatypes.id)