third thursday book club picks database assignment jean mead ls560

17
THIRD THURSDAY BOOK CLUB PICKS DATABASE ASSIGNMENT Jean Mead LS560

Upload: magnus-wilkerson

Post on 22-Dec-2015

219 views

Category:

Documents


4 download

TRANSCRIPT

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

HART COUNTY LIBRARY WEBSITE

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.

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.

AUTHOR TABLE

BOOK TABLE

DATE TABLE

RELATIONSHIPS

My 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.

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.

QUERY 1:

ANSWER: 2 BOOKS

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

QUERY 2: WHEN DID WE READ “BLUE”

ANSWER: “BLUE” WAS READ 4/1/10

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.

WEBSITE CHANGES

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