Pergunta de entrevista da empresa PwC

Some medium difficulty questions from SQL