Pregunta de entrevista de Santander

Had to write down Various SQL statements