<分区>
我正在使用以下查询来删除不在另一个表中的数据。
delete from table_1 where tbl_id in
(select tbl_id from table_1 left join table_2
on table_1.tbl_id=table_2.another_tbl_id where table_2.another_tbl_id is null)
上面的查询有问题吗?
它显示 You can't specify target table 'table_1' for update in FROM clause.
如何解决这个问题?