GlobalLogic interview question

Q. About OOPs and SQL.