3. INTRODUCTION ENTITY RELATIONSHIP
An entity–relationship model (or ER model) describes
interrelated things of interest in a specific domain of
knowledge. A basic ER model is composed of entity
types (which classify the things of interest) and
specifies relationships that can exist between entities
(instances of those entity types).
5. Many to Many
A many-to-many relationship occurs when multiple
records in a table are associated with multiple records
in another table. For example, a many-to-many
relationship exists between customers and products:
customers can purchase various products, and
products can be purchased by many customers
6. One-to-One
In systems analysis, a one-to-one
relationship is a type of cardinality that
refers to the relationship between two
entities A and B in which one element of
A may only be linked to one element of
B, and vice versa.
7. One-to-Many
In systems analysis, a one-to-many
relationship is a type of cardinality that refers
to the relationship between two entities (see
also entity–relationship model) A and B in
which an element of A may be linked to many
elements of B, but a member of B is linked to
only one element of A.
8. Multivalued Attributes
A multivalued attribute of an entity is an
attribute that can have more than one
value associated with the key of the
entity. For example, a large company
could have many divisions, some of
them possibly in different cities
9. Composite attribute
3An attribute that is a combination of
other attributes is known as composite
attribute. For example, In student entity,
the student address is a composite
attribute as an address is composed of
other attributes such as pin code, state,
country.