Primary keys are a crucial part of relational database management systems (RDBMSs). Most of the time we create a primary key constraint against a single column that is the unique identifier for the table.
But we can also create primary key constraints against more than one column. When we do this, we call it a composite primary key.
Composite keys can be handy when we don’t have a single column that contains unique values, but multiple columns can be combined to create a unique value.
Continue reading