4 ms·
Further suggestions: - If a field should never be NULL, put NOT NULL in the field definition. If a field should be unique, put UNIQUE in the field definition.
by Animats 10y ago
Further suggestions:
- If a field should never be NULL, put NOT NULL in the field definition. If a field should be unique, put UNIQUE in the field
definition. This improves both correctness and index performance.
- A useful format for CREATE TABLE is the one you get
back from SHOW CREATE TABLE.