The most important components of the syntax above are:
The column_name specifies the name of the column. Each column associates with a specific data type and the size e.g., VARCHAR(255) .
The NOT NULL or NULL indicates that the column accepts NULL value or not.
The DEFAULT value is used to specify the default value of the column.
The AUTO_INCREMENT indicates that the value of column is increased automatically whenever a new row is inserted into the table. Each table has one and only one AUTO_INCREMENT column.
If you want to set particular columns of the table as the primary key, you use the following syntax: