Consulta incorrecta: SELECT presupuestos.id FROM presupuestos LEFT JOIN proyectos ON presupuestos.proyecto=proyectos.id WHERE presupuestos.nombre='Rosa's Software' AND proyectos.titulo='Prog Gestion Alquileres' AND proyectos.validado=1
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 's Software' AND proyectos.titulo='Prog Gestion Alquileres' AND proyectos.validad' at line 1