InCrust Software interview question

Oops concepts Sql joins with query Data structure