语句是: SELECT CALMONTH,ZICZE0000,ZICZE00_TXTSH,ZICZS0000,EMPLSGROUP,ZICYY4707,ZICYY4708, SUM(ZMODIFYCUR),SUM(ZDIAMONDCUR),SUM(ZIFYY4705) FROM "_SYS_BIC"."CB.AL.YW/ZAL_MODIFYBEZEL" WHERE CALMONTH >= '${S_CALMONTH_FROM}' AND CALMONTH <= '${S_CALMONTH_TO}' AND EMPLSGROUP IN ('41','73') ${S_BM} ${S_ZICYY4707} ${S_ZICZE0000} ${S_EMPLSGROUP} GROUP BY CALMONTH,ZICZE0000,ZICZE00_TXTSH,ZICZS0000, EMPLSGROUP,ZICYY4707,ZIFYY4705,ZICYY4708 ORDER BY CALMONTH,ZICZS0000,ZICZE0000 |