Pregunta de entrevista de Gravitas

Questions regarding SQL queries were there