Computer Science, asked by eka55, 1 year ago

what is constraint in mysql ? brief description of any two constraints

Answers

Answered by siddharthmer
1
MySQL CONSTRAINT is used to define rules to allow or restrict what values can be stored in columns. The purpose of inducing constraints is to enforce the integrity of a database.

MySQL CONSTRAINTS are used to limit the type of data that can be inserted into a table.

MySQL CONSTRAINTS can be classified into two types - column level and table level.

Similar questions