SQL constaints are set of rules that restricts the type of data that can be inserted into a table. They ensure data integrity and enforce certain conditions on the data stored in the database.
There are two categories of integrity constraints: General constraints, which allow you to restrict the data values that are accepted for the variables in a single data file, such as requiring that ...