1093 - You can't specify target table 'table' for update in FROM clause

大致意思 是 不能先將select出表中的某些值,再update這個表(在同一語句中)   可以引入一個臨時表進行操作 delete from push_plans WHERE id in  (      select id from       (          select id from push_plans WHERE  area_id = 0                ) as
相關文章
相關標籤/搜索