I have the following query
DELETE
Proyectos,
Observaciones,
Fechas_revisiones,
Residentes,
Revisores_anteproyectos,
Validar_anteproyectos,
Validar_proyecto
FROM
Proyectos T1,
Observaciones T2,
Fechas_revisiones T3,
Residentes T4,
Revisores_anteproyectos T5,
Validar_anteproyectos T6,
Validar_proyecto T7
WHERE
T1.id='1234'
AND T2.id_proyecto=T1.id
AND T3.id_proyecto=T1.id
AND T4.id_proyecto=T1.id
AND T5.id_proyecto=T1.id
AND T6.id_proyecto=T1.id
AND T7.id_proyecto=T1.id
I execute it and it tells me that it does not know the first table
#1109 - Unknown table 'Proyectos' in MULTI DELETE
I do not understand if it is well written even copy the name from the phpmyadmin help something I'm doing wrong there is a shorter way to get to delete those eye records that are not as foreign key