Pregunta de entrevista de Asana

Solve SQL, think about this case