New Yorker Interview Question

Stored procedures, variables, and Aggregate functions