请根据下图写出创建数据库表的SQL语句

2024-11-05 21:22:54
推荐回答(1个)
回答1:

create table customer_history
(id int not null primary key,
mid char(5) not null,
nam varchar(20),
birth date,
sex char(1) default 0 check (sex in (0,1)),
updated datetime)

你这什么数据库,mysql?