SQL CONSTRAINTS

Constraints are restrictions that are used to limit the type of data you can get a column in a table.

Restrictions can be defined when creating the table (CREATE TABLE) or later with ALTER TABLE.

The possible restrictions are: