IBM interview question

oops concepts, basics of SQL