Just I wondering if my table requires a Primary key, when the table already has a foreign key ? Here's an Items table which contains a primary key. Now I want to link this table to 2 separate tables..
Items:ItemsID(PK),Title(FK)
Movies:Title(FK), Category, Type(DVD,VHS,Bluray)
Games:Title(FK),Category,Platform(PS3,Xbox,Nintendo)
Just to note every ItemID it is mandatory starting with "SH" hence why I taken this route. Also I have a stock table with the Title as PK - Stock:Title(PK),Quantity.
So yea, just wondering if the Movies, and Games table would be fine with out a PK ?
Items:ItemsID(PK),Title(FK)
Movies:Title(FK), Category, Type(DVD,VHS,Bluray)
Games:Title(FK),Category,Platform(PS3,Xbox,Nintendo)
Just to note every ItemID it is mandatory starting with "SH" hence why I taken this route. Also I have a stock table with the Title as PK - Stock:Title(PK),Quantity.
So yea, just wondering if the Movies, and Games table would be fine with out a PK ?
Last edited: