csce520-lect3-er-to-r

csce520-lect3-er-to-r -...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Primary keys allow entity sets and relationship  sets to be expressed uniformly as relations E/R diagram   collection of tables For each entity set and each relationship set there  is a unique table 12/13/11 CSCE 520  2
Background image of page 2
Entity set: becomes a relation with the attributes of  the entity set Relationship: becomes a relation with attributes: Key of connected entity sets Attributes of the relationship 12/13/11 CSCE 520  3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
12/13/11 CSCE 520  4 Example E/R Diagram Dog Name Breed Age License # Phone Weight Name Name Phone Address Owns Owner Kennel Pays Boards Amount
Background image of page 4
12/13/11 CSCE 520  5 Entity Set to Relation Dog Name Breed Age Weight Dog(Name,Breed,Age,Weight)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
12/13/11 CSCE 520  6 Entity Set to Relation Owner Kennel Pays Amount Name Name Address Pays(Kennel. Name,Owner.Name,Amount,Date) Phone Date
Background image of page 6
12/13/11 CSCE 520  7 Combining Relations: Many-One Owner Kennel Pays Amount Name Name Address
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/13/2011 for the course CSCE 520 taught by Professor Farkas during the Spring '11 term at South Carolina.

Page1 / 17

csce520-lect3-er-to-r -...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online