Pergunta de entrevista da empresa Epsilon

No question is unexpected, just get familiar with SQL