GyanSys interview question

On Oops concepts, SQL queries,