Introduction
Columns store data in tables. Constraints make sure the data is correct and follows rules.
When creating a new table to define what kind of data each column holds.
When you want to make sure a column always has a value (not empty).
When you want to make sure values in a column are unique.
When you want to link data between tables using keys.
When you want to limit the type or size of data stored in a column.