|
-
Feb 16th, 2010, 05:40 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Database design question
why do we make tables like 'Book_to_Author' instead of just adding authorID to the author field in the Book table?
-
Feb 16th, 2010, 05:44 PM
#2
Re: Database design question
You make tables like that when the join is many-to-many.
In the case of a "'Book_to_Author" table, that would be because an Author can write many books, and a single book can be written by more than one person.
-
Feb 16th, 2010, 05:49 PM
#3
Thread Starter
Addicted Member
Re: Database design question
Ah that's it I remember now Thanks a lot!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|