select stage,citycountrygroup,zhandimianjino as total from mv_db_base_banxuetiaojian ORDER BY CASE WHEN stage = '小学' THEN 1 WHEN stage = '初中' THEN 2 WHEN stage = '高中' THEN 3 END,CASE WHEN citycountrygroup = '城区' THEN 1 WHEN citycountrygroup = '镇区' THEN 2 WHEN citycountrygroup = '乡村' THEN 3 END