SQL: SELECT g.id FROM Groups g INNER JOIN mmksys_View_Group_Permissions p ON p.group_id = g.id WHERE p.view_id =

MySQL_ERROR: 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 '' at line 1