Multiple choice

The cost-based optimizer can choose between a nested loops join and a sort merge join operation. All tables are analyzed and the OPTIMIZER_MODE is set to FIRST_ROWS. Which execution plan will be the result?

  1. The sort-merge join

  2. The nested loops join

  3. This depends on some sort parameter values.

  4. This depends on the number of rows in each table.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The nested loops join