| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Normalization questions...
Pavel,
Sometimes you "discover" keys, rather than "inventing" them.
In your case, the combination uid, gid can only occur once the junction table. A uid might appear in several rows. A gid might appear in several rows. But, in combination, they are unique.
You can treat (uid, gid) as the primary key. Most DBMSes will let you declare a compound primary key.
--
Regards,
David Cressey
www.dcressey.com
Received on Sun Jan 21 2001 - 17:42:17 CST
![]() |
![]() |