Synoptek interview question

sql operations and the oops concepts