IF()
Priya only reaches for IF() when a IF dry-run has to stay correct in a small live site.
For IF(), an index is in play. Don’t blame it until you have traced a IF dry-run.
Skip IF() and copy-pasting IF without a dry-run shows up in a small live site.
Use IF() when a IF dry-run must stay clear. If a simpler SQL step works, use that instead.
IF() miss — copy-pasting IF without a dry-run. Fix it before you talk about advanced SQL.
After IF(), Priya should still remember copy-pasting IF without a dry-run.
Viva for IF() — what it is → one IF step Priya can write from memory → the mistake (copy-pasting IF without a dry-run).
Board: a IF dry-run. Dry-run IF(). Name the trap: copy-pasting IF without a dry-run.