MySQL CheckValidating data. MySQL CHECK Constraint The CHECK constraint is used to limit the value range that can be placed in a column. If you define a CHECK constraint on a column it will allow only certain values for this column. ExampleCREATE TABLE Persons (ID int NOT NULL, Age int, CHECK (Age>=18));Try it Yourself PreviousNext