Infosys interview question

Mvc architecture and sql queries