consider the following queries that deals with report pagination
a ) select MYROWS.* from
(select * from TABLE_NAME) MY_ROWS where rownum between 1 and 100
b) select * from TABLE_NAME where rownum between 1 and 100
My question : Does oracle optimize the first query so that it is not
significantly different (on execution time) when compared to the
second query ?
Thanks
Rishi
a ) select MYROWS.* from
(select * from TABLE_NAME) MY_ROWS where rownum between 1 and 100
b) select * from TABLE_NAME where rownum between 1 and 100
My question : Does oracle optimize the first query so that it is not
significantly different (on execution time) when compared to the
second query ?
Thanks
Rishi
Comment