Pergunta de entrevista da empresa Yahoo

Medium leetcode- array, SQL- having clause and joins