摘要: SELECT DECODE(DECODE(GROUPING(wxts.ITID) + GROUPING(wxts.PRO_ENAME),2,1,0) +GROUPING(to_char(wxt.PAYTIME,'yyyy-mm-dd')) ,1,'日期小计',2,'合计',to_char(wxt.P 阅读全文
posted @ 2018-08-03 16:29 MicrosoftMan 阅读(362) 评论(0) 推荐(0) 编辑