Home > Database > Mysql Tutorial > body text

Oracle 、MySql分页 举例

WBOY
Release: 2016-06-07 17:13:21
Original
1006 people have browsed it

三重循环 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 方式

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!