/** 在Mysql下执行: delete from my.stu where id not in( select min(id) id from my.stu group by code) ; 用途是去重复标题,但是却报错! You can't specify target table 'stu' for update in FROM clause 解决办法就是: mysql中不能这么用. (等待mysql升级吧)错误提示就是说,不能先select出同一表中的某些值,再update这个表(在同