Pergunta de entrevista da empresa Meta

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