Microchip Technology interview question

Explain oops concept Some sql queries