Pregunta de entrevista de Yahoo

Medium leetcode- array, SQL- having clause and joins