r/DatabaseHelp • • Dec 01 '16
Database design help
So I have a database project I could use help on, the requirements are:
The library patrons’ data should include:
Library card number
Last name
First name
Address
City
State
Zip code
Phone
A book record should include
- Book ID
- Book Title
- Author’s last name
- Author’s first name
- Year of publication
- ISBN
Include forms to:
- Enter new patrons
- Enter new books
- Facilitate book checkouts/checkins (see example) (note, the due date should be auto calculated to be two weeks after the check-out date)
I am thinking I need three tables patron, book, and check out. Any help would be much appreciated.
2
Upvotes
View all comments
1
u/[deleted] Dec 01 '16
I am just looking for help with the table design and relationships. I am thinking I need a patron table and book table, then have a check out table with card number and book ID in order to have a report with books checked out by a patron