Pergunta de entrevista da empresa CGI

SQL joins, filtering and sorting on 2 columns