提问人:Sri 提问时间:12/16/2022 最后编辑:GarethDSri 更新时间:12/16/2022 访问量:76
这句话有什么问题?它在 t1 上给出语法错误 delete from table1 t1 left join table2 t2。Id=t2.id,其中 t2.id 为 null [duplicate]
What's wrong in this statement? It is giving syntax error delete from table1 t1 left join table2 t2 on t1. Id=t2.id where t2.id is null [duplicate]
问:
这句话有什么问题?它在 mysql 中出现语法错误
delete
from table1 t1
left join table2 t2 on t1. Id=t2.id
where t2.id is null
请提供您的建议
答:
1赞
juergen d
12/16/2022
#1
加入时,您需要指定要从哪些表中删除
delete t1
from table1 t1
left join table2 t2 on t1.Id = t2.id
where t2.id is null
评论