Pregunta de entrevista de Citi

mainly asked about sql and querying