如你所愿,一条语句完成select [name],[fl],[id] from t2 where [id] in ((select min([id])[id] from t2 group by [fl])union(select min([id])[id] from t2 where [id] not in (select min([id]) from t2 group by [fl]) group by [fl]))order by [fl],[id]
select top 2 * from 表名 where f1=1;//这求出fl=1的前两条select top 2 * from 表名 where f1=2//这求出fl=2的前两条select top 2 * from 表名 where f1=1 union select top 2 * from 表名 where f1=2//求出fl=1的前两条并上fl=2的前两条//不知道我明不明白你说的意思,我感觉我理解可能有误