Are these tables respect the 3NF Database Normalization?
Posted
by penas
on Stack Overflow
See other posts from Stack Overflow
or by penas
Published on 2010-04-10T09:13:16Z
Indexed on
2010/04/10
9:23 UTC
Read the original article
Hit count: 413
AUTHOR
table
Author_ID
, PKFirst_Name
Last_Name
TITLES
table
TITLE_ID
, PKNAME
Author_ID
, FK
DOMAIN
table
DOMAIN_ID
, PKNAME
TITLE_ID
, FK
READERS
table
READER_ID
, PKFirst_Name
Last_Name
ADDRESS
CITY_ID
, FKPHONE
CITY
table
CITY_ID
, PKNAME
BORROWING
table
BORROWING_ID
,pkREADER_ID
, fkTITLE_ID
, fkDATE
HISTORY
table
READER_ID
TITLE_ID
DATE_OF_BORROWING
DATE_OF_RETURNING
- Are these tables respect the 3NF Database Normalization?
- What if 2 authors work together for the same title?
- The column Addresss should have it's own table?
- When a reader borrows a book, I make an entry in BORROWING table. After he returns the book, I delete that entry and I make another one entry in HISTORY table. Is this a good idea? Do I brake any rule? Should I have instead one single BORROWING table with a DATE_OF_RETURNING column?
© Stack Overflow or respective owner