You find this query being used in your Oracle 12c database:
Which method a used by the optimizer to limit the rows being returned?
A.
A filter is added to the table query dynamically using ROWNUM to limit the rows to 20 percent of the
total rows
B.
All the rows are returned to the client or middle tier but only the first 20 percent are returned to the
screen or the application.
C.
A view is created during execution and a filter on the view limits the rows to 20 percent of the total rows.
D.
A TOP-N query is created to limit the rows to 20 percent of the total rows
definitly D
https://oracle-base.com/articles/12c/row-limiting-clause-for-top-n-queries-12cr1#top-n
That website says that the select in the pic is a Top-n query. The method that oracle uses is different. A is totally wrong.
I have no idea between b and c then, for this time, i will use this website answer 🙂