Discuss the difference between a composite key and a composite attribute.How would each be indicated in an ERD?

1 answer

Answer

1139044

2026-05-12 10:30

+ Follow

Attribute is the property of entity.The composite attribute is like address(where street no,house no,town name all include).Composite key is also an attribute,but only which attribute are work as a unique identifier. Example:> In an ERD if vendor placed with orders then order(order day, order number) vendor(vendor code,vendor address) Here, order and vendor both are entity and order number, vendor code both are Composite key(because those are unique)but vendor address is a Composite attribute and order day(may be not unique)is an attribute only. So, we can conclude that all attribute not Composite key.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.