Pregunta de entrevista de EPAM Systems

SQL Excercise. Write a couple of intermediate queries