Infosys interview question

More question on database related