Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is a covering index?

  1. A An index that covers every column of the table
  2. B An index containing all columns a query needs, so the table itself is never read
  3. C An index on a foreign key
  4. D An index that covers multiple tables
Answer

An index containing all columns a query needs, so the table itself is never read

When all required columns are in the index, MySQL answers from the index alone. EXPLAIN shows 'Using index' in the Extra column.

All MySQL MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as