rowid SQL语句解释
select * from mytable2 s1 where rowid in(select rid from(select rownum r1,rid from (select rowid rid from mytable2) where rownum=3) ;
select rowid rid from mytable2 表示用rowid标识mytable2(rowid是Oracle系统函数)
select rownum r1,rid from (select rowid rid from mytable2) where rownum=3表示前面查询出来的10条记录不包括前3条记录
where rowid in 表示子查询中查询出来rowid的结果和mytable2中的rowid进行匹配