Pregunta de entrevista de CNN

Then they asked me some basic sql query in the interview