I want to create a database for a bookstore-portal (a portal with some bookstores inside).. I've been trying to figure out a slick databasedesign - but I'm having some trouble with it.. This is sort of what I have in mind:
A "books" table with information about various books - with the ISBN number as the primary key..
A "bookstores" table with information abut the different bookstores - with a B1, B2, B3 etc as the primary key..
Now the question is how am I supposed to implement what books the different bookstores are carrying? I thought about adding a cell with the different B1, B2, .. to the books-table - but that would result lot's of cells with the same info -> which isn't all that good..
How should I do this?? =)
thanks!