Rumah > Artikel > pangkalan data > Oracle 、MySql分页 举例
三重循环 select mbid00,mbmc00, llurl0,cfwz00,mbsltp,sycs00,lrsj00 from ( select mbid00,mbmc00, llurl0,cfwz00,mbsltp,sy
三重循环
select mbid00,mbmc00, llurl0,cfwz00,mbsltp,sycs00,lrsj00 from (
select mbid00,mbmc00, llurl0,cfwz00,mbsltp,sycs00,lrsj00,rownum as con from (
select * from JZ_MBXXB0 where 1=1 and lbid00=
'201'
order by lrsj00)
where rownum 10
) where con>=
1
在hibernate + Mysql 方式
,