MySQL中 PK NN UQ BIN UN ZF AI 的意思
PK Belongs to primary key
作为主键
NN Not Null
非空
UQ Unique index
不能重复
BIN Is binary column
存放二进制数据的列
UN Unsigned data type
无符号数据类型(需要整数形数据)
ZF Fill up values for that column with 0's if it is numeric
填充0位(例如指定3位小数,整数18就会变成18.000)
AI Auto Incremental
自增长
微信号:jamesworkshop 学习QQ群:364976091