ORACLE:
SELECT * FROM
(
SELECT 表名.*, ROWNUM AS CON FROM 表名 WHERE ROWNUM <= 100 AND 其它查询条件 ORDER BY 排序条件
)
WHERE CON >=10;
MYSQL:
select * from 表名 limit 10,100;
2023-03-06 12:16:00
ORACLE:
SELECT * FROM
(
SELECT 表名.*, ROWNUM AS CON FROM 表名 WHERE ROWNUM <= 100 AND 其它查询条件 ORDER BY 排序条件
)
WHERE CON >=10;
MYSQL:
select * from 表名 limit 10,100;