mysql 创建表

create table orderfrom(
no int not null auto_increment primary key comment '单号',
order_date int(11) comment '日期',
supplier varchar(50) comment '供应商',
storehouse varchar(50) comment '仓库',
remark varchar(500) comment '备注',
delivery_date int(11) comment '发货日期',
contract_no varchar(50) comment '合同编号',
type varchar(50) comment '类型',
materiel_no varchar(50) comment '',
create_date int(11) comment '创建日期',
update_date int(11) comment '修改日期'
)comment='订单';

create table materiel(
no int not null auto_increment primary key comment '编号',
name varchar(50) comment '名称',
price int comment '单价',
money int comment '金额',
standard varchar(10) comment '规格',
weight varchar(10) comment '克重',
number int comment '数量',
wide int comment '有宽',
create_date int(11) comment '创建日期',
update_date int(11) comment '修改日期'
)comment='物料';

猜你喜欢

转载自blog.csdn.net/weixin_42861564/article/details/81410751
今日推荐