Explain it in 60 seconds
Composite indexes and column order
Backend Engineering · Relational Databases · Beginner
What is a composite index, and why does column order matter?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Index on multiple columns.
- Leftmost prefix rule.
- (a, b) helps WHERE a and WHERE a AND b.
- Not WHERE b alone.
- Put equality columns before range columns.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.