日期:2014-05-16 浏览次数:20453 次
SELECT * FROM (SELECT rid = ROW_NUMBER() OVER (PARTITION BY 分组 ORDER BY 排序 DESC), * FROM 表名) AS T WHERE rid <= 10