| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> does a table always need a PK?
If I want to model say a book where I have a root element of book represented as
n pages, can I do something like this:
table BOOK
and
table PAGES
i.e do I need to have a (f.e.) primary key in the BOOK table? The only reason I can see that I would want to is if I want to have many different books but then I would have to have BOOK, and then a BOOK_PAGES joining table no?
Danke!
-Tomas
,%%%,
,%%%` %==--
,%%`( '|
,%%@ /\_/
,%.-"""--%%% "@@__
%%/ |__`\
.%'\ | \ / //
,%' > .'----\ | [/
< <<` ||
`\\\ ||
)\\ )\
^^^^^^^^"""^^^^^^""^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
THE DUKE
Received on Fri Aug 22 2003 - 15:08:28 CDT
![]() |
![]() |