Home >Database >Mysql Tutorial >Oracle分页sql

Oracle分页sql

WBOY
WBOYOriginal
2016-06-07 14:55:101024browse

Oracle分页sql Oracle 分页 select s.*from(select t.*,rownum rowindex from tablename t)swhere rowindex![CDATA[]]=#{lastRow} and rowindex![CDATA[]]=#{firstRow}

Oracle分页sql Oracle 分页
select s.*
from(
	select t.*,rownum rowindex from tablename t
)s
where rowindex<![CDATA[<]]>=#{lastRow} and rowindex<![CDATA[>]]>=#{firstRow}
Statement:
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