Mphasis interview question

Oops concepts, SQL queries (joins)