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 'AND tbl_prose.issue = AND tbl_prose.id = tbl_prose_elements.parent AND tbl_pros' at line 1