SQL DELETE with JOIN and SELECT "1" - Tutorial
DELETE hospital, doctor, posts, registration\nFROM hospital\nLEFT JOIN doctor ON hospital.id = doctor.host_id\nLEFT JOIN posts ON doctor.id = posts.doctor_id\nLEFT JOIN registration ON doctor.id = registration.doctor_id\nWHERE hospital.id = 11;\n\nSELECT "1";
原文地址: https://www.cveoy.top/t/topic/qd3M 著作权归作者所有。请勿转载和采集!