MySQL-Constraints
CONSTRAINTS: A Constraint is a condition or checks applicable on a field or set of fields. Constraints are also known as integrity constraints because they applied to maintain data integrity. Two types of constraints: Column constraints: Apply only to individual columns. Table constraints: Apply to group of one or more columns. Syntax: CREATE TABLE…