谁能建议以下查询格式是否正确?
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 语法实现自定义分页。