MySQL中You can't specify target table for update in FROM clause异常
mysql中You can't specify target table
如下l:
需要将select出的结果再通过中间表select一遍,就可以规避了错误。
如下:
PS:这个问题只出现于mysql,sql service 和 oracle 不会出现此问题。
mysql中You can't specify target table
如下l:
需要将select出的结果再通过中间表select一遍,就可以规避了错误。
如下:
PS:这个问题只出现于mysql,sql service 和 oracle 不会出现此问题。