FEHLER: 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 'GROUP BY o.name_LCID1031 ORDER BY o.id ASC' at line 1


SELECT o.id, o.name_LCID1031 AS name FROM pm_objektarten o INNER JOIN pm_pagesdat p ON p.Objektart_PMWERT=o.id INNER JOIN pm_pagesdat_LCID1031 l ON p.dsn=l.dsn WHERE GROUP BY o.name_LCID1031 ORDER BY o.id ASC