1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND artikel.ID = templates_to_artikel.artikel_id ' at line 13
SELECT templates.* FROM templates, templates_to_artikel, artikel WHERE templates.shops_ID=4 AND templates_to_artikel.templates_ID = templates.ID AND templates_to_artikel.artikel_ID = AND artikel.ID = templates_to_artikel.artikel_id AND artikel.Language = 'DE'