經安全檢測,此網站為安全網站,請放心前往原始網址!

Mysql跨表更新_織夢CMS

假定我們有兩張表,一張表為Product表存放產品資訊,其中有產品價格列Price;另外一張表是ProductPrice表,我們要將ProductPrice表中的價格欄位Price更新為Price表中價格欄位的80%。 在Mysql中我們有幾種手段可以做到這一點,一種是update table1 t1, table2

www.dedecms.com

網址安全性掃描由 google 提供