MySQL DefaultDefault values. MySQL DEFAULT Constraint The DEFAULT constraint is used to set a default value for a column. The default value will be added to all new records, if no other value is specified. ExampleCREATE TABLE Persons (ID int NOT NULL, City varchar(255) DEFAULT 'Sandnes');Try it Yourself PreviousNext