0

Help sql

I want to know if The following table from a library database is already in its three normal forms. books. Book Code, Isbn, Title, Publisher Code, Author Code, Genre Code, Category Code, Edition, Country Code

21st Sep 2020, 6:45 AM
123456
123456 - avatar
5 Antworten
+ 2
Can a book have more than one of the codes, such as Author Code, Genre Code, Category Code, or Edition? If so, then consider adding more relational tables.
21st Sep 2020, 12:29 PM
Brian
Brian - avatar
+ 2
What I mean to ask is, can there be more than one Author Code for the same book, or more than one Genre Code, etc? If so, then you might make a separate table for Authors or Genre where each uses a foreign key column to relate back to the book by its primary key, Book Code. You would then remove Author Code, Genre Code, etc. from the books record definition. That will normalize the DB.
21st Sep 2020, 5:27 PM
Brian
Brian - avatar
+ 1
Reframe your question in easy language
21st Sep 2020, 10:05 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
What do you recommend
21st Sep 2020, 3:20 PM
123456
123456 - avatar
0
Yes, there can be more than one author for a book.
21st Sep 2020, 7:55 PM
123456
123456 - avatar