MYSQL delete语句不支持别名
不要使用:tableA a 等别名
DELETE from tableA where exists (
SELECT id FROM tableB
where tableA.id=tableB.myid
)
MYSQL delete语句不支持别名
不要使用:tableA a 等别名
DELETE from tableA where exists (
SELECT id FROM tableB
where tableA.id=tableB.myid
)