标签: sql postgresql
我有两个列金额,付费,我想要计算工资百分比的百分比。多少百分比支付了金额 如
amount | paid | percent 100 | 90 | 90% 8000 | 4000 | 50% 50 | 100 |-50%
我想要PostgreSQL查询请帮帮我