我想要的结果,'
price1 | price2
1. 10000 | 2. -100
3. 20000 | 4. -200
将选择的查询,
select total_price from cloud_payment where user_id='snoopy99' and demandnum= '201307-charge0000040C'
select unpaid_price from gcloud.cloud_service_basic where user_id='snoopy99' and month=7
select total_price from gcloud.cloud_payment where user_id='snoopy99' and demandnum= '201308-charge0000040C'
select unpaid_price from gcloud.cloud_service_basic where user_id='snoopy99' and month=8
我希望1,3在第一列 2,4在第二列。
有什么好主意吗?