Keys

A key is a column or group of columns that uniquely identifies each row in a table.

Keys have the following functions in a database:

There are several different types of keys: