SlideShare a Scribd company logo
M. DHARANI M.SC (CS),
NADAR SARASWATHI
COLLEGE OF ARTS &
SCIENCE,THENI.
INDEX
oDEFINITION
oUSE OF ENTITY SETS VERSUS
ATTRIBUTES
oUSE OF ENTITY SETS VERSUS
RELATIONSHIP SETS
oBINARY VERSUS N-ARY
RELATIONSHIP SETS
oPLACEMENT OF RELATIONSHIP
ATTRIBUTES
DEFINTION
oThe notions of a entity set and a
relationship are not precise, and it is
possible to define a set of entities and
the relationship among them in a number
of different way.
oBasic example issues in the design of an
ER diagram schema.
USE OF ENTITY SETS VERSUS
ATTRIBUTES
oThe entity set employee with
attributes employee-name and
telephone-number.
oIt can easily be argued that a
telephone in an entity in its own
right with attributes telephone-
number and location.
If you can this point of view, must
redefine the employee entity set
as:
oThe employee entity set with
attributes employee-name.
oThe telephone entity set with
attributes telephone-number and
location.
oThe relationship set emp-telephone,
which denotes the association
between employees and the
oTreating a telephone as an
attributes telephone number
implies that employee have
precisely one telephone number
each.
oA common mistake is to use the
primary key of an entity set as
an attributes of an other entity
set, instead of using a
USE OF ENTITY SETS VERSUS
RELATIONSHIP SETS
oAn alternatives is to model a loan not as
an entity, but rather as a relationship
between customers and branches, with
loan number and amount as descriptive
attributes.
oIf every loan is held by exactly one
customer and is association with exactly
one branch.
oWe may find satisfactory the design
BINARY VERSUS N-ARY
RELATIONSHIP SETS
oRelationship in database are often
binary.
oSome relationships that appear to be
nonbinary could actually be better
represented by several binary
relationships.
oIt is always possible to replace a
nonbinary(n- ary, for n>2) relationship
set by a number of distinct binary
We replace the relationship set R
by an entity set E, and create
three relationship sets:
oRa, relation E and A
oRb, relation E and B
oRc, relation E and C
oIf the relationship set R had any
attributes, these are assigned to
entity set E.
Relationship( ai, bi, ci )in the
relationship set R, we create a
new entity ei in the entity set
E
o(ei, ai) in Ra
o(ei, bi) in Rb
o(ei, ci) in Rc
oWe can generalize this process in a
straightforward manner to n- ary
relationship sets.
we can restrict the E-R model to
include only binary relationship
sets
oAn identifying attributes may have to be
created for the entity set created to
represent the relationship sets.
oA n-ary relationship set shows more
clearly that several entities participate
in a single relationship.
oThere may not be a way to translate
constraints on the ternary relationship
into constraints on the binary
PLACEMENT OF
RELATIONSHIP
ATTRIBUTES
oThe cardinality ratio of a relationship
can affect the placement of relationship
attributes.
oThus, attributes of one-to-one or one-
to-many relationship sets can be
associated with one of the participating
entity sets, rather than with the
relationship set.
Access-date as attributes of
the account entity set
Depositor
JOHNSON
SMITH
HAYES
TURNER
JONES
A-101 24 May
1996
A-215 3 June
1996
A-102 10 June
1996
A-305 28 May
1996
A-201 17 June
1996
A-222 24 June
1996
Thank
you

More Related Content

PPT
7. Relational Database Design in DBMS
PDF
L8 design1
PPTX
Entity Relationship design issues
PPT
Chapter14
PPT
ER model
PPT
Er model
PPT
7. Relational Database Design in DBMS
L8 design1
Entity Relationship design issues
Chapter14
ER model
Er model

Similar to RDBMS (20)

PPT
Test presentation
PPT
2. Entity Relationship Model in DBMS
PPT
Er Model Nandha&Mani
PPTX
Pertemuan-4------------------------------------------------
PPT
dbms er model
PPTX
Unit 3 final.pptx
PPTX
Design issues with constraints of E-R model
PPT
ER Model and other topics in DBMS
PDF
Dbms 7: ER Diagram Design Issue
PPT
27 fcs157al3
PDF
L7 er2
PPT
E R Model details.ppt
PPTX
Chapter 6 relational data model and relational
PPTX
Chapter 6 relational data model and relational
PPTX
Chapter 6 relational data model and relational
PDF
Lecture Notes Unit 1 chapter 6 E-R MODEL
PDF
Welcome to International Journal of Engineering Research and Development (IJERD)
PPT
DBMS UNIT1
PPT
Sadat sumon
PPTX
Dbms presentation
Test presentation
2. Entity Relationship Model in DBMS
Er Model Nandha&Mani
Pertemuan-4------------------------------------------------
dbms er model
Unit 3 final.pptx
Design issues with constraints of E-R model
ER Model and other topics in DBMS
Dbms 7: ER Diagram Design Issue
27 fcs157al3
L7 er2
E R Model details.ppt
Chapter 6 relational data model and relational
Chapter 6 relational data model and relational
Chapter 6 relational data model and relational
Lecture Notes Unit 1 chapter 6 E-R MODEL
Welcome to International Journal of Engineering Research and Development (IJERD)
DBMS UNIT1
Sadat sumon
Dbms presentation
Ad

More from sowfi (20)

PPT
Lavanya m.sc
PPT
Lavanya m.sc
PPT
Soundarya m.sc
PPTX
Software engineering 2
PPTX
Compiler design
PPTX
Big data analytics
PPTX
Web programming
PPTX
OS
PPTX
OS
PPTX
DM
PPTX
CN
PPTX
CN
PPTX
Dm
PPTX
RDBMS
PPTX
connected compounds
PPTX
GENETIC ALGORITHM
PPTX
JDBE
PPTX
AUTO & HETRO CORRELATOR
PPTX
single source shorest path
PPTX
servlet in java
Lavanya m.sc
Lavanya m.sc
Soundarya m.sc
Software engineering 2
Compiler design
Big data analytics
Web programming
OS
OS
DM
CN
CN
Dm
RDBMS
connected compounds
GENETIC ALGORITHM
JDBE
AUTO & HETRO CORRELATOR
single source shorest path
servlet in java
Ad

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PPTX
master seminar digital applications in india
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
RMMM.pdf make it easy to upload and study
PDF
Classroom Observation Tools for Teachers
PPTX
Presentation on HIE in infants and its manifestations
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Computing-Curriculum for Schools in Ghana
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
01-Introduction-to-Information-Management.pdf
master seminar digital applications in india
Microbial diseases, their pathogenesis and prophylaxis
Module 4: Burden of Disease Tutorial Slides S2 2025
O5-L3 Freight Transport Ops (International) V1.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Final Presentation General Medicine 03-08-2024.pptx
Pharma ospi slides which help in ospi learning
RMMM.pdf make it easy to upload and study
Classroom Observation Tools for Teachers
Presentation on HIE in infants and its manifestations
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
GDM (1) (1).pptx small presentation for students
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Computing-Curriculum for Schools in Ghana
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Institutional Correction lecture only . . .
Final Presentation General Medicine 03-08-2024.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

RDBMS

  • 1. M. DHARANI M.SC (CS), NADAR SARASWATHI COLLEGE OF ARTS & SCIENCE,THENI.
  • 2. INDEX oDEFINITION oUSE OF ENTITY SETS VERSUS ATTRIBUTES oUSE OF ENTITY SETS VERSUS RELATIONSHIP SETS oBINARY VERSUS N-ARY RELATIONSHIP SETS oPLACEMENT OF RELATIONSHIP ATTRIBUTES
  • 3. DEFINTION oThe notions of a entity set and a relationship are not precise, and it is possible to define a set of entities and the relationship among them in a number of different way. oBasic example issues in the design of an ER diagram schema.
  • 4. USE OF ENTITY SETS VERSUS ATTRIBUTES oThe entity set employee with attributes employee-name and telephone-number. oIt can easily be argued that a telephone in an entity in its own right with attributes telephone- number and location.
  • 5. If you can this point of view, must redefine the employee entity set as: oThe employee entity set with attributes employee-name. oThe telephone entity set with attributes telephone-number and location. oThe relationship set emp-telephone, which denotes the association between employees and the
  • 6. oTreating a telephone as an attributes telephone number implies that employee have precisely one telephone number each. oA common mistake is to use the primary key of an entity set as an attributes of an other entity set, instead of using a
  • 7. USE OF ENTITY SETS VERSUS RELATIONSHIP SETS oAn alternatives is to model a loan not as an entity, but rather as a relationship between customers and branches, with loan number and amount as descriptive attributes. oIf every loan is held by exactly one customer and is association with exactly one branch. oWe may find satisfactory the design
  • 8. BINARY VERSUS N-ARY RELATIONSHIP SETS oRelationship in database are often binary. oSome relationships that appear to be nonbinary could actually be better represented by several binary relationships. oIt is always possible to replace a nonbinary(n- ary, for n>2) relationship set by a number of distinct binary
  • 9. We replace the relationship set R by an entity set E, and create three relationship sets: oRa, relation E and A oRb, relation E and B oRc, relation E and C oIf the relationship set R had any attributes, these are assigned to entity set E.
  • 10. Relationship( ai, bi, ci )in the relationship set R, we create a new entity ei in the entity set E o(ei, ai) in Ra o(ei, bi) in Rb o(ei, ci) in Rc oWe can generalize this process in a straightforward manner to n- ary relationship sets.
  • 11. we can restrict the E-R model to include only binary relationship sets oAn identifying attributes may have to be created for the entity set created to represent the relationship sets. oA n-ary relationship set shows more clearly that several entities participate in a single relationship. oThere may not be a way to translate constraints on the ternary relationship into constraints on the binary
  • 12. PLACEMENT OF RELATIONSHIP ATTRIBUTES oThe cardinality ratio of a relationship can affect the placement of relationship attributes. oThus, attributes of one-to-one or one- to-many relationship sets can be associated with one of the participating entity sets, rather than with the relationship set.
  • 13. Access-date as attributes of the account entity set Depositor JOHNSON SMITH HAYES TURNER JONES A-101 24 May 1996 A-215 3 June 1996 A-102 10 June 1996 A-305 28 May 1996 A-201 17 June 1996 A-222 24 June 1996