Agilysys interview question

Basic oop concept, sql queries