Question DB-IDX-0060
MediumWhy can LIKE '%kumar' not use an ordinary B+ tree index on name?
- A.
The index is case-sensitive
- B.
LIKE is never indexed
- 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
Why can LIKE '%kumar' not use an ordinary B+ tree index on name?
The index is case-sensitive
LIKE is never indexed
Sign up free to see the answer and a step-by-step explanation.
The leading wildcard means the start of the value is unknown, so there is no place in the sorted order to begin
B+ trees store only numbers