select a.rank, a.province,a.city,a.netfee from
(SELECT
row_number () OVER (ORDER BY t1.netfee DESC) AS rank,
t1.*
FROM
oss_fee_rank_net_fee t1
) a where a.rank<=100 and a.province = '广东'
paginate分页的时候把 over中的orderby去掉了,导致语句报错
后面换成paginateByFullSql发现最后的分页语句row_number () 前面的'select'不见了,导致语句报错
项目:JFinal
select * from (原 sql 在此 ) as temp