mysql workbench建表时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
自增长

原文地址:https://www.cnblogs.com/liaojie970/p/4893968.html