Constraints
Constraints is a SQL idea you prove with lookup by roll, not with a slogan.
Constraints order — meaning → PRIMARY KEY(roll) + INDEX → one limit. Dumping ten features helps nobody.
Without Constraints, a big table gets messy and lookup by roll is hard to trust.
Constraints shows up in a big table. Name lookup by roll, not “a real-world scenario”.
Constraints trap — indexing a low-cardinality flag only. Arun loses marks for that every viva.
After Constraints, Arun should still remember indexing a low-cardinality flag only.
Close Constraints with — “If I skip it, lookup by roll goes wrong like this: indexing a low-cardinality flag only.”
Say Constraints in one breath, then PRIMARY KEY(roll) + INDEX, then indexing a low-cardinality flag only.