You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select school_type,district,region,school,null,null,year,null,null,null, count(*) total,sum(mark),count(CASE WHEN mark = 5 THEN 1 ELSE null END) five,count(CASE WHEN mark = 4 THEN 1 ELSE null END) four,count(CASE WHEN mark = 3 THEN 1 ELSE null END) three,count(CASE WHEN mark = 2 THEN 1 ELSE null END) two from pre_cube_mark group by school_type,district,region,school,year;