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

MySQL建表SQL语句

数据库结构:广告宝-地址表:https://open.yesapi.cn/tablelist/yesapi_guanggaobao_user_address.html


-- 数据库大全:广告宝-地址表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_guanggaobao_user_address` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` int(11) NULL COMMENT '外键',
    `yesapi_guanggaobao_user_address_name` varchar(30) NULL COMMENT '收货人姓名',
    `mobile` int(11) NULL COMMENT '手机号',
    `province` varchar(20) NULL COMMENT '省',
    `city` varchar(20) NULL COMMENT '市',
    `country` varchar(20) NULL COMMENT '国家',
    `detail` varchar(100) NULL COMMENT '详细地址',
    `create_time` int(11) NULL COMMENT '创建日期',
    `delete_time` int(11) NULL COMMENT '删除日期',
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '广告宝-地址表';

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


MySQL数据库表结构设计

第 1-9 条, 共 9 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
user_idint(11)外键无索引
yesapi_guanggaobao_user_address_namevarchar(30)收货人姓名无索引
mobileint(11)手机号无索引
provincevarchar(20)无索引
cityvarchar(20)无索引
countryvarchar(20)国家无索引
detailvarchar(100)详细地址无索引
create_timeint(11)创建日期无索引
delete_timeint(11)删除日期无索引

猜你喜欢

MySQL数据库设计 广告宝-竞价详情表

MySQL数据库设计 广告宝-用户角色

MySQL数据库设计 广告宝-需求信息图片表

MySQL数据库设计 广告宝-需求信息表

MySQL数据库设计 广告宝-管理员表

MySQL数据库设计 广告宝-注册方式

MySQL数据库设计 广告宝-服务类目

MySQL数据库设计 广告宝-服务评价表

MySQL数据库设计 广告宝-用户基本信息

MySQL数据库设计 广告宝-第三方授权登录表

MySQL数据库设计 广告宝-我的粉丝表

MySQL数据库设计 广告宝-我的关注

MySQL数据库设计 广告宝-系统公告表

MySQL数据库设计 广告宝-消息表



回到顶部 ↑