how to set default value while creating table in mysql
snippet in sql

how to set default value while creating table in mysql

user455


CREATE TABLE Persons (
	ID int NOT NULL,
	LastName varchar(255) NOT NULL,
	FirstName varchar(255),
	Age int,
	City varchar(255) DEFAULT 'Sandnes'
);