IBM Interview Question

Oops concept, basically sql questions