select 系部,专业,count(1),民族,count(民族)/count(1) from table group by 系部,专业,民族 where 民族<>'汉族'
你至少要把题目发出来呀,表结构这些都没有,怎么写?