IBM interview question

Question involving SQL and question involving data analysis