客户代码客户姓名客户性别出生年月
身份证
姓名代码转换器百度消费次数消费金额持卡类别
备注
text
2132刘备男VIP 2115诸葛孔明男NORMAL 2165赵云男null 2113貂婵女VIP
序号列名列属性允许空值约束条件主键
1客户代码CHAR(4)NOT NULL PRIMARY KEY
2客户姓名CHAR(8)NOT NULL
3客户性别CHAR(2)NULL男或女
4出生年月DATETIME NULL
5身份证号CHAR(18)NOT NULL
6消费次数INT NULL>=0
7消费金额DECIMAL(11,2)NULL>=0
8持卡类别CHAR(6)NULL
9备注TEXT NULL
10照片IMAGE NULL
(客户代码 char(4) not null primary key,
客户姓名 char(8) not null,
客户性别 char(2) null,
出生年月 datetime null,
身份证号 char(18) not null,
消费次数 int null,
消费金额  deciaml(11,2) null,
持卡类别 char(6) null,
备注 text,
照片 image,
check(消费资料>=0),
check(消费金额>=0),
c heck(客户性别 in(‘男','女')))
insert  个人客户(客户代码,客户姓名,客户性别,持卡类别)v alues ('2301','刘备','男','VIP')
客户(个人)信息表
照片image