关于Mysql数据库建表时提示有错误!非常急,在这谢谢大家了!
//创建users表createtablleusers(useridINTAUTO_INCREMENTprimarykey,usernamevarchar(40),use...
//创建users表
create tablle users(userid INT AUTO_INCREMENT primary key,
username varchar(40),
usersex varchar(40),
userstudentid INT,
usercollege varchar(40),
userclassid varchar(40),
userpassword varchar(40),
usermail varchar(40),
owe varchar(40));
//books表
create table books(
bookid INT,
bookname varchar(40),
bookpress varchar(40),
pressdate varchar(40),
bookauthor varchar(40),
bookcount INT,
bookincount INT
);
//创建borrowbooks
create table borrowbooks(
userid INT,
bookid INT,
bookname varchar(40),
bookpress varchar(40),
pressdate varchar(40),
bookauthor varchar(40),
bookstarttime varchar(40)
); 展开
create tablle users(userid INT AUTO_INCREMENT primary key,
username varchar(40),
usersex varchar(40),
userstudentid INT,
usercollege varchar(40),
userclassid varchar(40),
userpassword varchar(40),
usermail varchar(40),
owe varchar(40));
//books表
create table books(
bookid INT,
bookname varchar(40),
bookpress varchar(40),
pressdate varchar(40),
bookauthor varchar(40),
bookcount INT,
bookincount INT
);
//创建borrowbooks
create table borrowbooks(
userid INT,
bookid INT,
bookname varchar(40),
bookpress varchar(40),
pressdate varchar(40),
bookauthor varchar(40),
bookstarttime varchar(40)
); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询