摘要: 1.统计消费记录中的收入与支出select sum(case when Amount> 0 then Amount else 0 end) as c0, sum(case when Amount <0 then Amount else 0 end ) as c1 from Orders其它DBCC... 阅读全文
posted @ 2014-02-25 16:17 豆角米饭 阅读(118) 评论(0) 推荐(0) 编辑