mysql出现“ You can't specify target table '表名' for update in FROM clause”解决方法

You can't specify target table '表名' for update in FROM clause 翻译为:不能先select出同一表中的某些值,再update这个表(在同一语句中)   实例: 表:result 表student   表:grade 要求:给大一成绩不合格的分数加5分   思路: 第一步:查询出大一成绩不合格的成绩集合 SELECT res.Student
相关文章
相关标签/搜索