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

MySQL建表SQL语句

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


-- 数据库大全:超级外卖-外卖
-- 来源:YesApi.cn
CREATE TABLE `yesapi_sn_food` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `fcontent` varchar(200) NULL COMMENT '',
    `fpic` char(200) NULL COMMENT '',
    `fsort` int(5) NULL DEFAULT '0' COMMENT '',
    `ftop` int(5) NULL DEFAULT '0' COMMENT '',
    `fctime` int(16) NULL COMMENT '',
    `yesapi_sn_food_status` int(1) NULL DEFAULT '0' COMMENT '',
    `salecount` int(10) NULL COMMENT '',
    `iswaimai` int(2) NULL DEFAULT '0' COMMENT '是否为外卖',
    `fid` int(10) NULL COMMENT '',
    `fcid` int(10) NULL COMMENT '',
    `fnum` int(10) NULL COMMENT '',
    `fname` char(90) NULL COMMENT '',
    `ftitle` char(150) NULL COMMENT '',
    `fprice` float(10,2) NULL COMMENT '',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '超级外卖-外卖';

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


MySQL数据库表结构设计

第 1-14 条, 共 14 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
fcontentvarchar(200)无索引
fpicchar(200)无索引
fsortint(5)0无索引0
ftopint(5)0无索引0
fctimeint(16)无索引
yesapi_sn_food_statusint(1)0无索引0
salecountint(10)无索引
iswaimaiint(2)0是否为外卖无索引0
fidint(10)无索引
fcidint(10)无索引
fnumint(10)无索引
fnamechar(90)无索引
ftitlechar(150)无索引
fpricefloat(10,2)无索引

猜你喜欢

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

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

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

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

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

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

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

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

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

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

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

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

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



回到顶部 ↑