MySQL数据库表结构设计
第 1-4 条, 共 4 条.
字段名称 | 字段类型 | 字段默认值 | 是否允许为空 | 字段描述 | 索引 | 字段数据示例 |
---|---|---|---|---|---|---|
list_goods | varchar(50) | 是 | 产品名 | 无索引 | ||
list_sales | int(10) | 是 | 产品销售量 | 无索引 | ||
list_rank | int(10) | 是 | 产品排名 | 无索引 | ||
list_hot | int(10) | 是 | 产品热度,百分制100表示非常热 | 无索引 |
MySQL建表SQL语句 免费MySQL数据库表结构设计
数据库结构:排名:https://open.yesapi.cn/tablelist/okayapi_rank.html
-- 数据库大全:排名
-- 来源:YesApi.cn
CREATE TABLE `okayapi_rank` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`list_goods` varchar(50) NULL COMMENT '产品名',
`list_sales` int(10) NULL COMMENT '产品销售量',
`list_rank` int(10) NULL COMMENT '产品排名',
`list_hot` int(10) NULL COMMENT '产品热度,百分制100表示非常热',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '排名';
复制后,到数据库执行,即可创建此数据库表。
猜你喜欢

