Show Indexes
If you can teach Show Indexes using lookup by roll, you know it. If you only know the heading, you don’t.
Keep Show Indexes small. Isha should finish lookup by roll in a few lines, not a 40-line dump.
Without Show Indexes, a big table gets messy and lookup by roll is hard to trust.
Isha ships Show Indexes in a big table. That is the use case worth saying.
Don’t do this with Show Indexes — indexing a low-cardinality flag only. Interviewers spot it in ten seconds.
Place Show Indexes next to nearby SQL work — PRIMARY KEY(roll) + INDEX is the link.
One breath for Show Indexes, then lookup by roll, then indexing a low-cardinality flag only. Sit down.
For Show Indexes: definition + a big table + one failure.