IBM interview question

List vs set, diffeent joins in sql