MySQL数据库表结构设计
第 1-2 条, 共 2 条.
字段名称 | 字段类型 | 字段默认值 | 是否允许为空 | 字段描述 | 索引 | 字段数据示例 |
---|---|---|---|---|---|---|
mobile | varchar(11) | 是 | 手机号码(中国) | 唯一索引 | 13800138000 | |
mobile_status | tinyint(3) | 0 | 是 | 手机号状态,自定义,0~100 | 无索引 | 0 |
MySQL建表SQL语句 免费MySQL数据库表结构设计
数据库结构:手机号码库:https://open.yesapi.cn/tablelist/okayapi_mobile.html
-- 数据库大全:手机号码库
-- 来源:YesApi.cn
CREATE TABLE `okayapi_mobile` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`mobile` varchar(11) NULL COMMENT '手机号码(中国)',
`mobile_status` tinyint(3) NULL DEFAULT '0' COMMENT '手机号状态,自定义,0~100',
UNIQUE KEY `mobile` (`mobile`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '手机号码库';
复制后,到数据库执行,即可创建此数据库表。
猜你喜欢

