Meta interview question

Various SQL questions (where vs. having, group by, sub-queries)