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
Explanation:
D
ะก
C
Predicate Information (identified by operation id):
—————————————————
1 – filter(“from$_subquery$_002”.”rowlimit_$$_rownumber”<=CEIL("from$
_subquery$_002"."rowlimit_$$_total"*20/100))
D
http://docs.oracle.com/database/121/LNPLS/release_changes.htm#LNPLS113
Marc is right. Please refer to the link he posted.
D is correct.
C
https://blog.dbi-services.com/oracle-rownum-vs-rownumber-and-12c-fetch-first/