The screenshot shows 3 typical definitions of a data type: id (auto-increment), title, and number.
1.- What are the differences between: noneand NULL?2.- Should I choose as defined: ''for varchar types when I want an empty string?3.- Should I set a as defined: 0default value for autoincrement int types?
none
NULL
as defined: ''
as defined: 0
There is no default value by default. If the value is not specified in the insert, the request will fail with a default error.
NULL - NULL, , NULL (). varchar '', NULL .
int ( : ), .