Ok i have 2 tables. A book table with the the primary key book_id and another field called title. And an author table with the primary key author_id and fields first_name,last_name and a foreign key book_id.
Does my design conform to 2NF ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generally (and in layman’s terms), normalisation at level one means:
For 2NF, you have the extra constraint that every column is dependent on the entire key (directly or indirectly through another non-key column).
So I would say it conforms to 2NF in this case since it meets the criteria for 1NF and the book does depend on the author.
However, it’s still not necessarily a good design, especially since you should always start at 3NF, as a general rule. A better solution would be the full blown:
That way, you have a many-to-many (including zero) relationship between books and authors.