比如 表 table1,分类 type,读取分类前5条,合并在联查,并且排序select * from(SELECT top 5 * FROM table1 where type=1UNIONSELECT top 5 * FROM table1 where type=2UNIONSELECT top 5 * FROM table1 where type=3) as table_new order by id desc