Home » MYSQL » Mysql Query Optimization » Question
  1. Which statement is used to force the optimizer to use tables in a particular order?
    1. USE INDEX
    2. IGNORE INDEX
    3. STRAIGHT_JOIN
    4. FORCE INDEX
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.