HP Inc. interview question

Expalin OOPS Concept and sql concepts