Mysql query in the update are out of the record

The UPDATE table_namethe AS ALIAS_1 the INNER the JOIN (the FROM the SELECT * table_namethe WHERE column= value) = the AS alias_2 the SET alias_1.column_1 the WHERE value = alias_2.id alias_1.id
wherein the latter content may be any inner join query, even including table lookup.

Guess you like

Origin www.cnblogs.com/mrnx2004/p/12043605.html