OverIT interview question

SQL various Joins, Polimorfismo java