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 ((con_grp.role_id = 1) OR (con_grp.role_id = 2) OR (con_grp.role_id = 6) O' at line 1