zoukankan      html  css  js  c++  java
  • MySQL创建表

    1.不控制主键的起点

    -- 1.不控制主键的起点
    create table emb_t_dictBusType
    (
        emb_c_busTypeID int unsigned primary key not null auto_increment,
      emb_c_busTypeEnName varchar(255) not null,
      emb_c_busTypeZhName varchar(255) not null
    )engine = innodb default charset=gbk;

    2.控制主键的起点

    drop table if exists emb_t_dictBusType;
    -- 控制主键的起点
    create table emb_t_dictBusType
    (
        emb_c_busTypeID int unsigned primary key not null auto_increment,
      emb_c_busTypeEnName varchar(255) not null,
      emb_c_busTypeZhName varchar(255) not null
    )engine=innodb auto_increment=1 default charset=gbk;
  • 相关阅读:
    数数小木块
    猴子吃桃问题
    整除个数
    大小写互换
    车牌号
    比较字母大小
    队花的烦恼一
    字母小游戏
    字符串逆序输出
    茵茵的第一课
  • 原文地址:https://www.cnblogs.com/cexm/p/6196355.html
Copyright © 2011-2022 走看看