我有两张表,销售和费用
例如
销售量:
sales_date Amount
2012-11-01 12000.55
2012-11-03 2650.00
2012-11-03 2650.00
2012-11-03 2650.00
2012-11-07 12900.00
2012-11-07 2900.00
花费:
Expense Date Amount
2012-11-03 40.00
2012-11-10 100.00
2012-11-10 1000.00
2012-11-11 10.00
2012-11-17 100.00
我需要 SQL 查询输出为
Date Sales Expense
2012-11-01 12000.55
2012-11-03 7950.00 40.00
2012-11-07 15800.00
2012-11-10 1100.00
2012-11-11 10.00
2012-11-17 100.00