Edifecs Interview Question

Question related to oops and sql