Window Functions
Meera only reaches for Window Functions when a Window Functions dry-run has to stay correct in a first job task.
Window Functions on the board: one Window Functions step Meera can write from memory. Then say what a Window Functions dry-run looks like after.
Without Window Functions, a first job task gets messy and a Window Functions dry-run is hard to trust.
Use Window Functions when a Window Functions dry-run must stay clear. If a simpler SQL step works, use that instead.
Don’t do this with Window Functions: copy-pasting Window Functions without a dry-run. Interviewers spot it in ten seconds.
Place Window Functions next to nearby SQL work — one Window Functions step Meera can write from memory is the link.
Viva for Window Functions: what it is → one Window Functions step Meera can write from memory → the mistake (copy-pasting Window Functions without a dry-run).
Say Window Functions in one breath, then one Window Functions step Meera can write from memory, then copy-pasting Window Functions without a dry-run.