这条分页语句有问题吗?

gundamff gundamff 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
select * from (select row_.*, rownum rownum_ from (
select userinfo.id as "id"
from tbl_user_teacher teacherinfo,tbl_user_info userinfo
where 1=1
and teacherinfo.id = userinfo.id
and userinfo.status = 1
and userinfo.region_id is not null
order by userinfo.region_id asc ) row_
where rownum <= 20 )
where rownum_ >=11
...全文
评论 9
收藏 已收藏
分享
返回顶部
gundamff
Oracle 17,133 成员 55,258 内容