Types of constraints in sql.