ER Model Study Notes
ER Model Study Notes
INSTALL APP
2023
2024
2025
Relationship
2023
2024
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 1/10
5/27/23, 5:05 PM ER Model Study Notes
2025
Relationship Set
Entity: Anything that exists and can be distinguished/ real world object which can be
distinguished from other objects.
Strong Entity Set: An entity set that has a primary key is termed a strong entity set.
Weak Entity Set: An entity set may not have sufficient attributes to form a primary key. Such an
entity set is termed a weak entity set. For a weak entity set to be meaningful, it must be
associated with another entity set, called the identifying or owner entity set. Every weak entity
must be associated with an identifying entity i.e., the weak entity set is said to be existence
dependent on the identifying entity set.
Attribute: Properties that describe an entity or we can say attributes are descriptive properties
possessed by each member of an entity set and each attribute has a domain.
Composite Attribute: Attributes which can have component attribute. e.g., a composite attribute
name, with component attributes First_Name, Middle_Name and Last_Name.
Derived Attribute: The value for this type of attribute can be derived from the values of other
related attributes or entities. For instance, let us say that the customer entity set has an attribute
Loans_Held, which represents how many loans a customer has from the bank. We can derive the
value for this attribute by counting the number of loan entities associated with that customer.
Descriptive Attribute: If a relationship set has also some attributes associated with it, then we
link these attributes to that relationship set. e.g., consider a relationship set depositor with entity
sets customer and account. We could associate the attribute Access_Date to that relationship to
specify the most recent date on which a customer accessed an account.
Single Valued Attribute: Attribute which has only one value, e.g., the Employee_Number attribute
for a specific Employee_entity refers to only one employee number.
Multi Valued Attribute: Attributes which can have 0, 1 or more than 1 values. An employee entity
set with the attribute Phone_Number. An employee may have zero, one or several phone
numbers and different employees may have different numbers of phones.
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 2/10
5/27/23, 5:05 PM ER Model Study Notes
Non-Prime Attributes: Attributes which are not part of any candidate key.
Notations/Shapes in ER Modeling
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 3/10
5/27/23, 5:05 PM ER Model Study Notes
One to One: An entity in A is associated with at most one entity in B and an entity in B is
associated with at most one entity in A.
One to Many: An entity in A is associated with any number (zero or more) of entities; in B.
An entity in B, however, can be associated with at most one entity in A.
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 4/10
5/27/23, 5:05 PM ER Model Study Notes
Many to Many: An entity in A is associated with any number (zero or more) c entities in B
and an entity B is associated with any number (zero or more) of entities in A.
Specialization: Consider an entity set person with attributes name, street and city, A person may
be further classified-as one of the following: Customer, and Employee. Each of these person
types is described by a set of attributes 1 at includes all the attributes of entity set person plus
possibly additional attributes. The process of designating subgroupings within an entity set is
called specialization.
The specialization of person allows us to distinguish among persons according to whether they
are employees or customers,
The refinement from an initial entity set into successive levels of entity subgroupings represents
a top-down design process in which distinctions are made explicitly.
Here, person is the higher level entity set and customer and employee are lower level entity sets.
Higher and lower level entity sets also may be designated by- the terms super class and
subclass, respectively.
Aggregation: Aggregation is used when we have to model a relationship involving entity set and
a relationship set. Aggregation is an abstraction through which relationships are treated as
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 5/10
5/27/23, 5:05 PM ER Model Study Notes
Integrity Constraints: Necessary conditions to be satisfied by the data values in the relational
instances so that the set of data values constitute a meaningful database.
Entity Integrity Constraint: Primary key of a relation should not contain NULL values.
Referential Integrity Constraint: In relational model, two relations are related to each other over
the basis of attributes. Every value of referencing attributes must be NULL or be available in the
referenced attribute.
OTHER TOPICS
Introduction to Databases
ER-model
Relational model
Database Design
File organization
Transactions and Concurrency Control
You can follow the detailed champion study plan for GATE CS 2021 from the following link:
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 6/10
5/27/23, 5:05 PM ER Model Study Notes
Candidates can also practice 110+ Mock tests for exams like GATE, NIELIT with Test Series
check the following link:
Get unlimited access to 21+ structured Live Courses all 112+ mock tests with Online Classroom
Program for GATE CS & PSU Exams:
Click here to avail Online Classroom Program for Computer Science Engineering
Thanks!
Thanks sir
5 UPVOTE 0 REPLY
Thanks mam
1 UPVOTE 0 REPLY
Thanks ...you are helping us for our preparation , we are very thankful to you.
1 UPVOTE 0 REPLY
1 UPVOTE 0 REPLY
https://dl.flipkart.com/dl/electronics-capsule/p/itm12c64e3b4cbf1?pid=9789353829599&cmpid=product.share.pp
... Read More
0 UPVOTE 0 REPLY
0 UPVOTE 0 REPLY
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 7/10
5/27/23, 5:05 PM ER Model Study Notes
4 UPVOTE 0 REPLY
0 UPVOTE 0 REPLY
0 UPVOTE 1 REPLY
Pravin Thakor
0 UPVOTE 0 REPLY
Write a comment
Related Posts
GATE CSE Weightage Analysis for Database
May 16 | 93 upvotes
5 Ques | 15 Min
Computer Science GATE GATE CSE NIELIT Other Exams Quick Links Mock Test
Computer Science …
https://byjusexamprep.com/er-model-i-0848bf3d-b9e5-11e5-aaf7-a8a97b99485a?lang=en 8/10