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 'UNION SELECT ID_proyecto FROM `31_proyecto_avances_videos` WHERE ID_proyecto LIK' at line 1