OutputEasyFilter by a department's budget Why does this FROM subquery fail?
OutputMediumThe vanishing column trick OutputMediumTop earner per department OutputMediumCustomers who ever placed an order OutputMediumGroups above a dynamic threshold Multiple choiceMediumToo many rows in the SELECT list Multiple choiceMediumShort-circuit vs set membership Multiple choiceMediumWHERE can't see what GROUP BY computes OutputHardFilter on an aggregate you just computed Multiple choiceHardNOT IN subquery with NULLs Multiple choiceHardCorrelated subquery performance Multiple choiceHardWhen NOT IN silently drops all rows