Consulta incorrecta: SELECT presupuestos.id FROM presupuestos LEFT JOIN proyectos ON presupuestos.proyecto=proyectos.id WHERE presupuestos.nombre='Developer' s Lake' AND proyectos.titulo='Java: Sockets, MySQL y multitarea' 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 Lake' AND proyectos.titulo='Java: Sockets, MySQL y multitarea' AND proyectos.v' at line 1