Oracle
1Z0-882 · Question #93
Inspect the SELECT query: Mysql> EXPLAIN SELECT employees. Emp_no, first_name, last_name FROM employees JOIN title WHERE to_date > `2008-10-11'; Guaranteed success with TestInsides practice guides…
The correct answer is C. Add an index on the to_ date column. See the full explanation below for the reasoning.
Question
Inspect the SELECT query:
Mysql> EXPLAIN SELECT employees. Emp_no, first_name, last_name FROM employees JOIN title WHERE to_date > `2008-10-11'; Guaranteed success with TestInsides practice guides 14 2 rows in set (0.00 sec) Which action will optimize the query?
Exhibit
Options
- AAdd an index to the employees. emp _no column.
- BAdd the keyword STRAIGHT_JOIN.
- CAdd an index on the to_ date column.
- DAdd the FORCE INDEX (PRIMARY) optimizer hint for the employees table.
How the community answered
(48 responses)- A13% (6)
- B2% (1)
- C77% (37)
- D8% (4)
Community Discussion
No community discussion yet for this question.
