iTradeNetwork interview question

Basic questions on SQL