17,140
社区成员




SELECT substr(orgCode,1,instr(orgCode, '.',1,3)) orgCode,SUM(s.MONTH_ADD)
from SPECIL_TASK_REPORT s
WHERE ((s.year = 2018 and s.month >= 7 or (s.year > 2018))
and ((s.year = 2018 and s.month <= 12) or (s.year < 2018)))
GROUP BY substr(orgCode,1,instr(orgCode, '.',1,3))