首先,创建一张表books
1 | create table books (id int not null auto_increment, ISBN bigint not null, book_name varchar(20) not null, author varchar(50), publish_date varchar(20), description varchar(500), publish_organization varchar(30), total_pages int not null, primary key(id))ENGINE=InnoDB DEFAULT CHARSET=utf8; |
显示表结构及内容:
插入数据:
1 | insert into books (ISBN, book_name, author, publish_date, description, publish_organization, total_pages) values |