QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 951|回复: 1

帮我看看这段sql语句

[复制链接]
发表于 2002-10-24 17:39:33 | 显示全部楼层 |阅读模式
CREATE TABLE books ( id int(3) not null
-> auto_increment, name char(50) not null,
-> unique(id), primary key(id));


老说 是在第3行(id), primary key(id)); 处有错

帮忙看看吧
 楼主| 发表于 2002-10-24 17:49:15 | 显示全部楼层
原来我在第2行忘加","号了

唉,看来少一点都不行啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-23 20:53 , Processed in 0.081160 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表