1、建立表this
- PK: primary key (column is part of a pk) 主键rem
- NN: not null (column is nullable) 非空数据类型
- UQ: unique (column is part of a unique key) 惟一二进制
- AI: auto increment (the column is auto incremented when rows are inserted) 自增im
- BIN: binary (if dt is a blob or similar, this indicates that is binary data, rather than text) 存放二进制数据的列(比text更大的二进制数据)数据
- UN: unsigned (for integer types, see docs: “10.2. Numeric Types”) 无符号数据类型(例如-500 to 500替换成0 - 1000,须要整数形数据)blob
- ZF: zero fill (rather a display related flag, see docs: “10.2. Numeric Types”)值中最有意义的字节总为0,而且不保存。 di
- G :Generated column 基于其余列的公式生成值的列co