填空题:利用create table 命令创建borrow表,表结构见下图:
利用create table 命令创建borrow表,表结构见下图:

CREATE TABLE borrow(
XH int primary key,
bbID CHAR(10) ,
bookID CHAR(10) not null,
readerID CHAR(6) not null,
Borrowdate DATETIME not null
);
注:填空时要么全部小写,要么全部大写
答案:
第1空:auto_increment || AUTO_INCREMENT ||
第2空:UNIQUE || unique ||

CREATE TABLE borrow(
XH int primary key,
bbID CHAR(10) ,
bookID CHAR(10) not null,
readerID CHAR(6) not null,
Borrowdate DATETIME not null
);
注:填空时要么全部小写,要么全部大写
答案:
第1空:auto_increment || AUTO_INCREMENT ||
第2空:UNIQUE || unique ||