FR里面怎么现实倒序后前10啊,功能里得前N好像是没有排序前得
直接在sql语句处理好不行吗 order by 栏位 desc排序 ,top10取10条
在数据集里,先做好倒序,就可以了
select top 10 * from 表 order by 排序字段 desc
Mysql:
select * from table order by id desc limit 10;
Sql Server:
select top (10) * from table order by id desc;
Oracle:
select * from ( select * from table order by id desc) where rownum<=10;