Pregunta de entrevista de Accenture Solutions

it's was a sql query