Pregunta de entrevista de Segment

SQL - questions on joins and data structures