The DEFAULT constraint is a type of constraint that is applied only to columns.
It automatically assigns a default value to a column if no value is provided during insertion.
Here, a default value means a pre-defined value that will be used when the user doesn't provide any value for that column.
If no value is inserted in that column, the default value is stored automatically.
Syntax:
CREATE TABLE table_name (
column_name data_type DEFAULT default_value
);
