数据库的数据类型

mysql : is serial

  创建一个test表: create table test(id serial);

mysql> desc test;

serial 相当于 id bigint primary key  not null auto_increment;

posted @ 2018-04-16 10:37  haha瓜  阅读(77)  评论(0)    收藏  举报