如何用百分比来提高价格?

时间:2016-10-20 22:48:52

标签: sql

例如

SELECT product_c, price, price 'New Price'

我想将价格提高20%

1 个答案:

答案 0 :(得分:2)

SELECT product_c, price, (price* 1.20) as new_price FROM Table;