Question DB-IDX-0009
MediumA composite index exists on (city, age). Which query can use it most effectively?
- A.
WHERE name = 'Ravi'
- B.
WHERE age > 25
- 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 composite index exists on (city, age). Which query can use it most effectively?
WHERE name = 'Ravi'
WHERE age > 25
Sign up free to see the answer and a step-by-step explanation.
WHERE city = 'Pune' AND age > 25
WHERE age = 30 OR name = 'Ravi'