-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest6.sql
More file actions
19 lines (16 loc) · 784 Bytes
/
test6.sql
File metadata and controls
19 lines (16 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
create table bookInfo(
code int,
title varchar(100),
writer varchar(50),
price int,
maker varchar(50)
);
insert into bookInfo(code,title,writer,price,maker) values('1','java1교재','홍길동','35000','영진');
insert into bookInfo(code,title,writer,price,maker) values('2','java2교재','홍길동','38000','');
insert into bookInfo(code,title,writer) values('3','mysql교재','이순신');
insert into bookInfo values('4','linux 첫걸음','리눅이','50000','한빛');
insert into bookInfo values('5','html 첫걸음','손코딩');
insert into bookInfo(code,title,writer,price,maker) values('6','java1교재','','0','영진');
insert into bookInfo(code,title,writer,price,maker) values(7,oracle,홍길동,35000,영진);
select count(*) from bookInfo;
select * from bookInfo;