Pregunta de entrevista de NielsenIQ

Basic SQL questions (join and some fuctions)