Download - Database Assignment
![Page 1: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/1.jpg)
T H I R D T H U R S DAY BO O K C LU B P I C K S
DATABASE ASSIGNMENT
Jean MeadLS560
![Page 2: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/2.jpg)
HART COUNTY LIBRARY WEBSITE
![Page 3: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/3.jpg)
WEBSITE & CHANGES
• The Hart County Library Website does not have a search option on the site for our patrons to search anything, including events or books that the Third Thursday Book Club have read.• Since I facilitate the book club, my goal is to
create a tool that patrons and the facilitator can use to search books read in book club according to a variety of data points such as: author name, date read or book title.• I created three tables: Author, Books, and Date.
![Page 4: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/4.jpg)
TABLES
• I created three tables. • The Author table has an ID number, First Name
and Last Name• The Book Table has Book ID number, Title, Author
ID number, Book type (Fic or Non Fic) and Genre.• The Date Table has the Date Read, Author ID
number and Book ID number.
![Page 5: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/5.jpg)
AUTHOR TABLE
![Page 6: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/6.jpg)
BOOK TABLE
![Page 7: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/7.jpg)
DATE TABLE
![Page 8: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/8.jpg)
RELATIONSHIPSMy relationships were: From Author table to Book table: Author ID to Author ID & Last Name to Title. The relationship between Book table and Date table was Book ID to Book ID.
![Page 9: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/9.jpg)
QUERY 1:
• How many books by Sarah Addison Allen have we read in book club?• SELECT "Authors"."Last Name", "Books"."Title",
"Date"."Date Read" FROM "Books", "Authors", "Date" WHERE "Books"."AuthorID" = "Authors"."Author ID" AND "Date"."BookID" = "Books"."BookID" AND "Authors"."Last Name" = 'Allen' ORDER BY "Authors"."Last Name" ASC
• Answer: 2. “Garden Spells” in 2012 and “The Girl that Chased the Moon” in 2013.
![Page 10: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/10.jpg)
QUERY 1:
![Page 11: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/11.jpg)
ANSWER: 2 BOOKS
![Page 12: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/12.jpg)
QUERY 2:
• When did we read the book “Blue”• SELECT "Authors"."Last Name", "Books"."Title",
"Date"."Date Read" FROM "Books", "Authors", "Date" WHERE "Books"."AuthorID" = "Authors"."Author ID" AND "Date"."BookID" = "Books"."BookID" AND "Books"."Title" = 'Blue' ORDER BY "Books"."Title" ASC
• Answer: 4/1/10
![Page 13: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/13.jpg)
QUERY 2: WHEN DID WE READ “BLUE”
![Page 14: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/14.jpg)
ANSWER: “BLUE” WAS READ 4/1/10
![Page 15: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/15.jpg)
WEBSITE CHANGES/MOCK UP
• The best place to put the book club information is on the left menu. • I would add a “Third Thursday Book Club”
Information Button for the patrons to click on and have it send them to an advanced search form.
![Page 16: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/16.jpg)
WEBSITE CHANGES
![Page 17: Database Assignment](https://reader033.vdocuments.us/reader033/viewer/2022050723/56815ee9550346895dcd9a3a/html5/thumbnails/17.jpg)
MOCK UP OF FORM
Third Thursday Book ClubWe meet every third Thursday at 6pm in the small meeting room.
Want to see if we have read your favorite book? Or what we have read in the past?Search the Database!
• By Book Title Search• By Date Read Search• By Author Name Search