JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Interviewers don’t expect you to tune databases. They expect you to not do stupid things.
“How does the database find a row?”
Indexes exist to avoid scanning everything.
An index is a separate data structure that helps the database find rows faster.
❗ Don’t index everything blindly.
Constraints stop bad data from entering DB.
Indexes optimize queries. Constraints protect data. Both are required for real systems.