Pregunta de entrevista de ZS Associates

Different SQL queries and their theory.