Operative interview question

simply sql statement