Infosys interview question

A Database schema question