ChinaUnix首页 > 精华文章 > MySQL > 正文

[精华] MySQL 里创建自增的列应该用什么关键字声明?


http://www.chinaunix.net 作者:mizuki  发表于:2002-07-14 11:04:24
发表评论】 【查看原文】 【MySQL讨论区】【关闭

谢谢!~



 mizuki 回复于:2002-07-14 11:04:24

知道了

CREATE TABLE animals (id mediumint not null auto_increment,
name char(30) not null,
primary key (id))&#59;




原文链接:http://bbs.chinaunix.net/viewthread.php?tid=15710
转载请注明作者名及原文出处