Blog Friends RSS About

Database: What's the difference between set, bag, and list?

15 February, 2019

In database course of Carnegie Melon University, Professor Andy mention several import concepts of database, set, list and bag.

What’s the difference? Here is the answer.

  order duplicate
set unorder without duplicate
list ordered with duplicate
bag unordered with duplicate



  2. Stackoverflow: Difference between Set and Bag in Hibernate

  3. CMU Database Systems - 01 Course introduction & Relational Data Model (Fall 2018)