Unique Key
Unique Key is simple if you keep it on paper. Zara uses it for a Unique Key dry-run in a small live site.
Do Unique Key once by hand. one Unique Key step Zara can write from memory. Change one input. Say the new result out loud.
Skip Unique Key and skipping the failure case for Unique Key shows up in a small live site.
Zara ships Unique Key in a small live site. That is the use case worth saying.
Unique Key trap — skipping the failure case for Unique Key. Zara loses marks for that every viva.
Unique Key is not a lonely heading. Zara ties it to a Unique Key dry-run.
Viva for Unique Key: what it is → one Unique Key step Zara can write from memory → the mistake (skipping the failure case for Unique Key).
students.id ← PK (unique)
▲
│ FK
marks.student_idSay Unique Key in one breath, then one Unique Key step Zara can write from memory, then skipping the failure case for Unique Key.