You can't specify target table 'd_address' for update in FROM clause。mysql中不能先select出某一表中的某些值,再update这个表;将select出的结果再select一遍,作为一个新的表,可以规避此错误。