select top 50 * from 表 where 类型='填空题' order by newid()
union all
select top 30 * from 表 where 类型='选择题' order by newid()
union all
select top 10 * from 表 where 类型='简答题' order by newid()
union all
select top 10 * from 表 where 类型='分析题' order by newid()