📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which column is usually the BEST candidate for an index?

A. A column that is never queried
B. A column storing long free-text notes
C. A foreign key used in JOINs ✅
D. A column with all NULL values

Correct Answer: C. A foreign key used in JOINs

Explanation

Foreign keys are frequently joined, so indexing them speeds up joins and referential checks.