in Databases
895 views
0 votes
0 votes
Difference between composite and compound key??
in Databases
895 views

1 Answer

0 votes
0 votes

 

In this relation ENO is a primary key for employee table and Pno is a primary key for projects table

the relation is many-many

for clear image : https://drive.google.com/open?id=12NRaE5r0Zo5K7wajVmoapAGj_cd2z2oa

by

1 comment

Each attribute that makes up the compound key is a simple key in its own right,where as in composite key at least one such attribute is not a key in its own right.

Correct me if I am wrong..
0
0

Related questions