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 'WHERE ps.ID = 5 AND matrix <> 1 ORDER BY p' at line 10

MySQL Abfrage fehlgeschlagen SELECT * FROM iPSo_profiler_struktur ps LEFT JOIN iPSo_profiler_produkte_eigenschaften pe ON ps.ID = pe.stId JOIN iPSo_profiler_produkte p ON pe.pId = p.id JOIN iPSo_profiler_produkte_in_domain ppid ON ppid.con_id = p.id AND domain_id = WHERE ps.ID = 5 AND matrix <> 1 ORDER BY p.id DESC