1查出表中的4—9条记录
① select
ROWNUM RN1,emp.*
FROM
emp;//从表emp中获取记录,并用rownum生成RN1
select
ROWNUM RN1,emp.*
FROM
emp
) B where B.rn1 between 4 and 9 //通过RN1的标记进行查找
1查出表中的4—9条记录
① select
ROWNUM RN1,emp.*
FROM
emp;//从表emp中获取记录,并用rownum生成RN1
select
ROWNUM RN1,emp.*
FROM
emp
) B where B.rn1 between 4 and 9 //通过RN1的标记进行查找