Infosys interview question

RDBMS based question