Entity Relationship Diagram
Student is an Entity.
A property or characteristic of an entity type.
Examples: FirstName, LastName, PhoneNo
Examples: FirstName, LastName, PhoneNo
If
the attributes are composite, they are further divided in a tree
like structure
Multivalued attributes
are depicted by double ellipse. Example: PhoneNo
Derived attributes
are depicted by dashed ellipse. Example: Age
Identifier
An
attribute (or combination of attributes) that uniquely identify individual
instances of an entity type
Roll_No
is an identifier.(Primary Key)
Mapping to Relations
Student (Roll_No, Name, Class, Subject)
There
can be composite identifiers.
Mapping to Relations
Flight (Flight_No, Date)
Payment (loan-number, payment-number,
payment-date, payment-amount)
Comments
Post a Comment