好的,所以我是派生表的新手。当我运行这个查询时,它给了我一个 MYSQL ERROR 1248。有人知道解决这个问题的方法吗?这可能是我做过的最复杂的查询,我只想让它工作。谢谢!
delete from table_1
where thing_id in (
select tid from(
select thing_id as tid
FROM table_1
inner join table_2
on table_1.thing_id = table_2.thing_id
where stuff = 'stuff'
)
)