+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:超级外卖-外卖分类:https://open.yesapi.cn/tablelist/yesapi_sn_foodorder.html


-- 数据库大全:超级外卖-外卖分类
-- 来源:YesApi.cn
CREATE TABLE `yesapi_sn_foodorder` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `oid` int(30) NULL COMMENT '',
    `orderprice` float(10,2) NULL COMMENT '',
    `ordercount` int(10) NULL COMMENT '',
    `zhekou` float(10,2) NULL COMMENT '',
    `pay` float(10,2) NULL COMMENT '',
    `paytype` int(2) NULL DEFAULT '0' COMMENT '',
    `ucount` int(10) NULL DEFAULT '0' COMMENT '',
    `uid` int(15) NULL COMMENT '',
    `uname` char(60) NULL COMMENT '',
    `pid` char(100) NULL COMMENT '',
    `shopspay` int(11) NULL DEFAULT '0' COMMENT '配送费用',
    `shopname` char(100) NULL COMMENT '',
    `gid` char(90) NULL COMMENT '',
    `order_ctime` int(16) NULL COMMENT '',
    `order_endtime` int(16) NULL COMMENT '',
    `print_time` int(16) NULL COMMENT '',
    `print_name` char(100) NULL COMMENT '',
    `morecontent` char(200) NULL COMMENT '',
    `otel` char(80) NULL COMMENT '',
    `oman` char(100) NULL COMMENT '',
    `oaddress` char(200) NULL COMMENT '',
    `orderstatus` int(1) NULL DEFAULT '1' COMMENT '',
    `ordersource` char(40) NULL COMMENT '',
    `couponid` int(30) NULL DEFAULT '0' COMMENT '',
    `order_dtime` datetime NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '超级外卖-外卖分类';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-25 条, 共 25 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
oidint(30)无索引
orderpricefloat(10,2)无索引
ordercountint(10)无索引
zhekoufloat(10,2)无索引
payfloat(10,2)无索引
paytypeint(2)0无索引0
ucountint(10)0无索引0
uidint(15)无索引
unamechar(60)无索引
pidchar(100)无索引
shopspayint(11)0配送费用无索引0
shopnamechar(100)无索引
gidchar(90)无索引
order_ctimeint(16)无索引
order_endtimeint(16)无索引
print_timeint(16)无索引
print_namechar(100)无索引
morecontentchar(200)无索引
otelchar(80)无索引
omanchar(100)无索引
oaddresschar(200)无索引
orderstatusint(1)1无索引1
ordersourcechar(40)无索引
couponidint(30)0无索引0
order_dtimedatetime无索引

猜你喜欢

MySQL数据库设计 超级外卖-文章

MySQL数据库设计 超级外卖-文章分类

MySQL数据库设计 超级外卖-配置

MySQL数据库设计 超级外卖-充值

MySQL数据库设计 超级外卖-充值类目

MySQL数据库设计 超级外卖-地址

MySQL数据库设计 超级外卖-外卖

MySQL数据库设计 超级外卖-外卖分类

MySQL数据库设计 超级外卖-外卖明细

MySQL数据库设计 超级外卖-链接

MySQL数据库设计 超级外卖-会员

MySQL数据库设计 超级外卖-消息

MySQL数据库设计 超级外卖-页面



回到顶部 ↑