摘要: mysql中You can't specify target table for update in FROM clause错误的意思是说,不能先select出同一表中的某些值,再update这个表(在同一语句中)。 例如下面这个sql: 改写成下面就行了: 也就是说将select出的结果再通过中间 阅读全文
posted @ 2016-10-19 09:16 disneyland 阅读(150) 评论(0) 推荐(0) 编辑