The UPDATE table_name
the AS ALIAS_1 the INNER the JOIN (the FROM the SELECT * table_name
the 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.
Mysql query in the update are out of the record
Guess you like
Origin www.cnblogs.com/mrnx2004/p/12043605.html
Ranking