Problem Statement
When does a non-clustered index help most?
Explanation
A non-clustered index is a separate structure (key → row locator). It accelerates point lookups, filters, joins, and sorts.
Choose columns that are selective and appear often in predicates or ordering to see the most benefit.
Code Solution
SolutionRead Only
CREATE INDEX idx_users_email ON users(email);
Practice Sets
This question appears in the following practice sets:
