1 / 12

CS 425 Database Organization ER Diagrams

CS 425 Database Organization ER Diagrams. Manju Muralidharan Priya. Fundamentals. Building Blocks. Advanced concepts. Notations. EXIT. ER Diagrams. An abstract and conceptual representation of data. It is used to design database schema Commonly used during Requirement Analysis phase.

holli
Télécharger la présentation

CS 425 Database Organization ER Diagrams

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 425 Database OrganizationER Diagrams Manju Muralidharan Priya

  2. Fundamentals Building Blocks Advanced concepts Notations EXIT

  3. ER Diagrams • An abstract and conceptual representation of data. • It is used to design database schema • Commonly used during Requirement Analysis phase. • Has entities , attributes and relationships CS561 Spring 2012

  4. ENTITIES Event Place Person Object Student Desk Classroom Seminar CS561 Spring 2012

  5. ATTRIBUTES S_ID Primary key Why use Key? FNAME CLASS STUDENT NAME Multi-value attribute LNAME AGE Composite attribute Derived attribute DOB Simple attribute CS561 Spring 2012

  6. RELATIONSHIPS Association between entities Can have attributes Member of STUDENT TEAM since CS561 Spring 2012

  7. Relationshipscontd. Establishing Relationships S_ID Member of STUDENT TEAM TEAM_ID since TEAM_ID Here TEAM_ID is the foreign key connecting the entities CS561 Spring 2012

  8. CARDINALITY Number of entities in a relationship Many to Many relationship One to Many relationship Many to One relationship One to One relationship 1 1 N N N N 1 1 Teacher Department Quiz Team Class Student Student Student Manages Belongs Belongs Manager Teaches CS561 Spring 2012

  9. ROLES Roles of entities in relationships Leader of Leader Lab Team STUDENT TEAM Member of Member Quiz Team CS561 Spring 2012

  10. NOTATIONS Crow’s Foot Notation Chen Notation Min-Max / ISO UML Notation <<Relationship>> < Has <<Entity>> <<Entity>> Member of Member of Member of > (0,1)Member of STUDENT CLUB 1 N Has (0,N)Has 1 0..N CS561 Spring 2012

  11. WRAP UP… ENTITIES ATTRIBUTES RELATIONSHIPS CARDINALITY ROLES FNAME LNAME S_ID NAME CLASS Member of N 1 TEAM STUDENT Member of Has AGE since TEAM_ID DOB CS561 Spring 2012

  12. THANK YOU

More Related