日期:2014-05-16 浏览次数:20494 次
select id,name,class,date from( select id,name,class,date ,row_number() over(partition by class order by date desc) as rowindex from table1)a where rowindex<=5