[Err] 1093 - You can't specify target table 'exam_arrange_list' for update in FROM clause
2017-06-29 00:00
435 查看
摘要: [Err] 1093 - You can't specify target table 'exam_arrange_list' for update in FROM clause
[Err] 1093 - You can't specify target table 'exam_arrange_list' for update in FROM clause
解决:
原来sql:
修改后:
[Err] 1093 - You can't specify target table 'exam_arrange_list' for update in FROM clause
解决:
原来sql:
update exam_arrange_list set IS_PASS_='及格' where ID_ in ( select l.ID_ from exam_arrangement a inner join exam_arrange_list l on a.ID_=l.ARRANGEMENT_ID_ where l.E_STATE_='已结束' and a.E_RESET_=0 and a.E_SEND_=1 )
修改后:
update exam_arrange_list set IS_PASS_='及格' where ID_ in ( SELECT r.ID_ from( select l.ID_ from exam_arrangement a inner join exam_arrange_list l on a.ID_=l.ARRANGEMENT_ID_ where l.E_STATE_='已结束' and a.E_RESET_=0 and a.E_SEND_=1 ) r )
相关文章推荐
- [Err] 1093 - You can't specify target table 's' for update in FROM clause
- [Err] 1093 - You can't specify target table 'image' for update in FROM clause
- MySQL [Err] 1093 - You can't specify target table 'test' for update in FROM clause
- [Err] 1093 - You can't specify target table 'table' for update in FROM clause处理
- [Err] 1093 - You can't specify target table 'ExtraPrivilege' for update in FROM clause
- MySQL数据库update更新子查询[Err] 1093 - You can't specify target table 'text' for update in FROM clause
- [Err] 1093 - You can't specify target table 'matorder' for update in FROM clause 原句:delete from mat
- [Err] 1093 - You can't specify target table 's' for update in FROM clause
- mysql Error Code: 1093. You can't specify target table 'base_extend' for update in FROM clause 0.001
- ERROR 1093 (HY000): You can't specify target table 'SDS' for update in FROM clause
- 数据库删除重复属性列,错误[HY000][1093] You can't specify target table 'orders' for update in FROM clause
- You can't specify target table 'test' for update in FROM clause.
- [Django](1093, "You can't specify target table 'fee_details_invoices' for update in FROM clause") 错误
- mysql错误:1093-You can’t specify target table for update in FROM clause的解决方法
- Mysql 错误 Code: 1093. You can't specify target table for update in FROM clause
- MySQL中执行sql语句错误 Error Code: 1093. You can't specify target table 'car' for update in FROM clause
- mysql中错误:1093-You can’t specify target table for update in FROM clause的解决方法
- MySQL 错误码: 1093 You can't specify target table 'jc_user' for update in FROM clause
- You can't specify target table 'xxx' for update in FROM clause
- mysql中错误:1093-You can’t specify target table for update in FROM clause的解决方法