Pergunta de entrevista da empresa IBM

it was a hackerank, sql, python