PRIMARY KEY
Also we can make the two column combination a unique and we can
call that primary key
If either condition fails, the row is rejected.
Summary:
•Use CHECK to enforce rules on data.
•You can apply it:
•Directly on a column (inline)
•Or separately with a name (table-level constraint)
how to add more
columns in sql table
To add more columns to an
existing SQL table, use the
ALTER TABLE statement
with ADD COLUMN.