将查询结果 重新 生成一张表
create table TABBLE_NAME
as
select * from TABLE_NAME
------------------------------------------
分页时用到的, 从第几数据到第几条数据
select v.* from
(select rownum xh,s.* from table_name s where rownum<=结束) v where v.xh>=开始
本文介绍了使用SQL进行数据分页的方法,通过设置开始和结束的行号来获取指定范围内的记录。此外还展示了如何利用SQL语句创建新表。
将查询结果 重新 生成一张表
create table TABBLE_NAME
as
select * from TABLE_NAME
------------------------------------------
分页时用到的, 从第几数据到第几条数据
select v.* from
(select rownum xh,s.* from table_name s where rownum<=结束) v where v.xh>=开始
8973

被折叠的 条评论
为什么被折叠?