Pregunta de entrevista de Meta

SQL question (Easy & Medium Leetcode level)