Question DB-IDX-0019
HardWhich is a good candidate for an index?
- A.
A column in a table with 10 rows
- B.
A column that is updated constantly and rarely searched
- 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
Which is a good candidate for an index?
A column in a table with 10 rows
A column that is updated constantly and rarely searched
Sign up free to see the answer and a step-by-step explanation.
A column often used in WHERE clauses and joins on a large table, with many distinct values
A column with only two distinct values in an OLTP table