Direction: Choose the correct option
Q1.
What is a composite index?
Direction: Choose the correct option
Q2.
CREATE INDEX idx_name ON employees(last_name, first_name);Which query will use this index?Direction: Choose the correct option
Q3.
What is a covering index?
Direction: Choose the correct option
Q4.
SELECT dept_id, salary FROM employees WHERE dept_id = 5;What index would cover this query?Direction: Choose the correct option
Q5.
When can indexes hurt performance?
