When creating a database what happens if one table only contains 2 primary keys from other tables, i’m assuming they’re both foreign keys. Does there have to be a primary key in the table?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A Table doesn’t necessarily need to have a primary key associated. It i completely valid as follows
Table_Album
Table_Song
You can then have a table which states
Table_Album_Song_Map
Hope that helps