IBM interview question

OOP + Data structures + SQL