i try to do this query which is
select SUBSTRING(cm_category,1,2) as parent, SUBSTRING(cm_category,1,5) as child, COUNT() as total,SUM(CASE WHEN cm_s