Google News
logo
MySQL - Quiz(MCQ)
Which statement is used to force the optimizer to use tables in a particular order?
A)
USE INDEX
B)
FORCE INDEX
C)
STRAIGHT_JOIN
D)
IGNORE INDEX

Correct Answer :   STRAIGHT_JOIN


Explanation : STRAIGHT_JOIN is used to force the optimizer to use tables in a particular order. The MySQL optimizer by default considers itself free to determine the order in which to scan tables most quickly.

Advertisement