SentientGeeks interview question

Mainly from OOPS Concept, SQL