Professional Documents
Culture Documents
Assignment # 2 Database Management System: National University of Modern Languages
Assignment # 2 Database Management System: National University of Modern Languages
Submitted by
Syed Jarar Ali Naqvi
Roll # 11977
BSSE Section 4-A (Morning)
Submitted to
MAM SADAF ANWAR
Dated
17/06/2020
NUML
National University of Modern Languages
Question No 1. Look at the Figures and identify the types of attributes and fill
it. Also give reason in 2 lines that why you chose this particular type.
Simple
Multivalued
DERIVED
Reason:
• MULTIVALUED ATTRIBUTE: Attribute that can hold multiple value,
because one employee can have more than one skill.
• Derived ATTRIBUTE: Attribute whose one value is dynamic and derived
from another one.Here Year_employee derived from date attribute.
Simple
Reason: A key attribute can uniquely identify an entity from
entity set.
COMPOSITE
COMPOSITE
SIMPLE
and simple.
Primary Key: ID ID
M_Key
Attributes:
Iname
1.ID: - unique ID to each instruments
• String with length of 8 characters; no nulls; unique.
Album
Album – Entity :
A_ID
Primary Key: A_ID A_TITLE
Attributes: FORMAT
1.A_ID: - unique Ablum ID Number COPYRIGHT_DATE
• String no nulls; unique.
2.A_TITLE : Name of Album
• string with any value; no nulls; not unique.
3. COPYRIGHT_DATE: Copyright date of Album
• string no null, no unique.
Album – Entity :
Primary Key: TITLE SONG
Attributes: TITLE
ER-DIAGRAM: