Pregunta de entrevista de EPAM Systems

SQL question medium level was asked