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

MySQL建表SQL语句

数据库结构:民宿-产品:https://open.yesapi.cn/tablelist/yesapi_gotrip_Product.html


-- 数据库大全:民宿-产品
-- 来源:YesApi.cn
CREATE TABLE `yesapi_gotrip_Product` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `yesapi_gotrip_Product_name` varchar(255) NULL COMMENT '',
    `subTitle` varchar(255) NULL COMMENT '',
    `orignalPrice` float NULL COMMENT '',
    `promotePrice` float NULL COMMENT '',
    `stock` int(11) NULL COMMENT '',
    `cid` int(11) NULL COMMENT '',
    `createDate` datetime NULL COMMENT '',
    KEY `cid` (`cid`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '民宿-产品';

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


MySQL数据库表结构设计

第 1-7 条, 共 7 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
yesapi_gotrip_Product_namevarchar(255)无索引
subTitlevarchar(255)无索引
orignalPricefloat无索引
promotePricefloat无索引
stockint(11)无索引
cidint(11)普通索引
createDatedatetime无索引

猜你喜欢

MySQL数据库设计 民宿-分类

MySQL数据库设计 民宿-订单项目

MySQL数据库设计 民宿-订单

MySQL数据库设计 民宿-产品图片

MySQL数据库设计 民宿-属性

MySQL数据库设计 民宿-属性值

MySQL数据库设计 民宿-留言

MySQL数据库设计 民宿-会员



回到顶部 ↑