-1
我有2代表一“price
”表更新基于一个因子,价格区域在另一个
id | country_id |sell_price
-----+------------+----------
123 | 321 | 5.00
和交流“rate
”表
country_id | rate
-----------+------
321 | 1.05
我需要更新price.sell_price
通过乘以price.sell_price * rate.rate where country_id = 321
任何帮助将不胜感激!
完美的感谢! - 现在我可以停止在桌子上撞我的头了! –