Pergunta de entrevista da empresa Accenture Solutions

it's was a sql query