我有下表。有金额和一个付费字段
partner sale_order Amount Paid
Administrator s0002 100 done
Administrator s0007 100
Administrator s0004 100 done
Administrator s0009 100
Administrator s0003 100
Demo User s0001 200 done
Demo User s0005 200 done
Demo User s0008 200
我的愿望输出将是
partner amount paid_amount
Administrator 500 200
s0002 100 100
s0007 100
s0004 100 100
s0009 100
s0003 100
s0006 100
Demo User 600 400
s0001 200 200
s0008 200 200
s0005 200
这可能吗?这是编辑过的。这是第二次编辑,如果可能的话?