-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.sql
32 lines (28 loc) · 943 Bytes
/
setup.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DROP TABLE IF EXISTS Books;
CREATE TABLE Books (
ID int NOT NULL AUTO_INCREMENT PRIMARY KEY,
Name varchar(255) NOT NULL,
Author varchar(255) NOT NULL,
Image varchar(255) NOT NULL
);
INSERT INTO Books (
Name, Author, Image
) VALUES (
"Way of the Wolf",
"Jordan Belfort",
"https://books.google.com/books/content/images/frontcover/5jYvDwAAQBAJ?fife=w200-h300"
);
INSERT INTO Books (
Name, Author, Image
) VALUES (
"The Beautiful Poetry of Donald Trump",
"Robert Sears",
"https://books.google.com/books/content/images/frontcover/68CnDwAAQBAJ?fife=w200-h300"
);
INSERT INTO Books (
Name, Author, Image
) VALUES (
"The Lord of the Rings: The Fellowship of the Ring, The Two Towers, The Return of the King",
"J. R. R. Tolkien",
"https://books.google.com/books/content/images/frontcover/FKziXsnqLTEC?fife=w200-h300"
);