Question DB-IDX-0058
MediumA query joins orders to customers on customer_id. Which index most helps the join?
- A.
No index can help joins
- B.
An index on customers.name
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Indexing and Hashing question
A query joins orders to customers on customer_id. Which index most helps the join?
No index can help joins
An index on customers.name
Sign up free to see the answer and a step-by-step explanation.
An index on orders.customer_id
An index on orders.amount