Pregunta de entrevista de New York Life Investments

SQL functions and order of queries