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/myegghead Dec 01 '16
What help do you need exactly? Looks good so far. You could normalize City, State, Zip, Author. May be overkill though, depending on the task.