mysql 多表 update sql语句总结

mysql 多表 update 有几种不一样的写法。 mysql 假定咱们有两张表,一张表为Product表存放产品信息,其中有产品价格列Price;另一张表是ProductPrice表,咱们要将ProductPrice表中的价格字段Price更新为Price表中价格字段的80%。sql 在Mysql中咱们有几种手段能够作到这一点,一种是update table1 t1, table2 ts ..
相关文章
相关标签/搜索