Hexaware Technologies interview question

Concepts regarding to OOPs and SQL