Mysoft interview question

Explain my code in Practical project, Database object related.