oracle迁移到postgres-分页问题
1、oracle使用rownum
进行分页
select * from ss_stu where rownum <= 10;
2、postgres使用limit
进行分页
select * from ss_stu limit 10;
3、使用FETCH
统一的分页方式
select * from ss_stu FETCH NEXT 1 ROWS ONLY