题解 | #创建一张新表#

创建一张新表

https://www.nowcoder.com/practice/a61ee5519d14444aa99e530309a8e043

create table  if not exists user_info_vip (

    id            int(11)     not null primary key auto_increment    comment '自增ID'  ,

    uid           int(11)     not null unique key                    comment '用户ID'  ,

    nick_name     varchar(64)                                        comment '昵称'    ,

    achievement   int(11)     default 0                              comment '成就值'   ,

    level         int(11)                                            comment '用户等级' ,

    job           varchar(32)                                        comment '职业方向' ,

    register_time datetime    default current_timestamp              comment '注册时间'

default charset = utf8 comment '用户信息表'

/*SQL*/;

全部评论

相关推荐

06-14 19:09
门头沟学院 Java
darius_:给制造业搞的,什么物料管理生产管理,设备管理点检,最最关键的就是一堆报表看板。个人觉得没啥技术含量都是些基本的crud,但是业务很繁琐那种
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务