Pregunta de entrevista de ServiceTitan

Asked how to write a nested query