Derived Table
Derived Table is simple if you keep it on paper. Isha uses it for Isha walking through Derived Table in a viva board.
For Derived Table, InnoDB is in play. Don’t blame it until you have traced Isha walking through Derived Table.
Without Derived Table, a viva board gets messy and Isha walking through Derived Table is hard to trust.
Use Derived Table when Isha walking through Derived Table must stay clear. If a simpler SQL step works, use that instead.
Derived Table trap — copy-pasting Derived Table without a dry-run. Isha loses marks for that every viva.
Derived Table is not a lonely heading. Isha ties it to Isha walking through Derived Table.
Viva for Derived Table: what it is → one Derived Table step Isha can write from memory → the mistake (copy-pasting Derived Table without a dry-run).
Say Derived Table in one breath, then one Derived Table step Isha can write from memory, then copy-pasting Derived Table without a dry-run.