有人可以建议以下查询格式是否正确吗?
SELECT *
FROM ( SELECT b.*
, ROW_NUMBER() OVER (Order by b.TEST_NO) R
FROM ( select r.*
from ( select TEST_NO , TEST_NO1, TEST_NO2
From test_table
where TEST_NO2 = '0000as23') r
where 1 = 1
and rownum < 10000 ) b
)
WHERE R BETWEEN 11 and 200;
这里我尝试使用Oracle语法实现自定义分页。