Xactly Corp. interview question

Basic SQL