ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.

Slides:



Advertisements
Similar presentations
Data Design The futureERD - CardinalityCODINGRelationshipsDefinition.
Advertisements

Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Modeling the Data: Conceptual and Logical Data Modeling
Concepts of Database Management Sixth Edition
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 121 C HAPTER 16 Implementing an REA Model in a Relational.
Modeling Data The Entity Relationship Model (ER) For Database Design.
Entity-Relationship Model and Diagrams (continued)
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
WJEC Applied ICT Databases – Attributes & Entities Entities A database contains one or more related tables. Each table holds all of the information.
Database Relationships Objective 5.01 Understand database tables used in business.
What is an Entity What is an Entity Relationship Diagram? Different types of relationships.
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
Database Relationships Objective 5.01 Understand database tables used in business.
DATA MODELING AND DATABASE DESIGN DATA MODELING AND DATABASE DESIGN Part 1.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
Chapter 3: Modeling Data in the Organization
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
Database Design Concepts
Converting ER model Into Relational Table
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
Relational databases and third normal form As always click on speaker notes under view when executing to get more information!
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
Database Design Using Entity-Relationship Models Transformation of Entity-Relationship Models into Relational Database Design Trees, Networks, and Bills.
Databases. Not All Tables Are Created Equal Spreadsheets use tables to store data and formulas associated with that data The “meaning” of data is implicit.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Microsoft Access Intro Class 6 Relationships.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
Database revision.
Entity-Relationship (E-R) Diagrams
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Rebecca McCready Faculty of Medical Sciences Newcastle University Lecture 2 – Relationships and Lookup fields.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
In this session, you will learn to: Map an ER diagram to a table Objectives.
Relational Theory and Design
Databases Illuminated Chapter 3 The Entity Relationship Model.
Lesson 2: Designing a Database and Creating Tables.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Entity-Relationship Diagram Presentation Gianna-lee Williams 6AQ Ms. Anderson.
Entity relationship diagram Name: Quian Crosby Form:6AQ Subject: Information Technology Teacher: Ms. D. Anderson.
Done By : Gillian Swaby. Objectives: 1. What is an Entity-Relationship Diagram? 2.What are the symbols used in ERD? Explain each. 3. What is a one- to-
What is an Entity Relationship Diagram?. An Entity Relationship Diagram is a graphic that is speacialized to illustrate or give examples of the inter.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Howard Paul. Sequential Access Index Files and Data File Random Access.
Database Relationships Objective 5.01 Understand database tables used in business.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
Microsoft Access 2010 Chapter 11 Database Design.
E.R Diagrams Tiffany Shaw 6AQ
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 2: MODELING DATA.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
Moya messam.  Definition: An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a.
Data Modeling AND ER MODELS.
Microsoft Access CS 110 Fall Entity Relationship Model Entities Entities Principal data object about which information is to be collectedPrincipal.
 DEFINE THE ENTITY  IDENTIFY THE ENTITY TYPES AND SETS OF ENTITY  EXPLAIN THE ATTRIBUTE AND A VALUE SET  EXPLAIN E-R MODEL EXPLAIN THE FOLLOWING RELATIONSHIP.
Lecture 5 Data Model Design Jeffery S. Horsburgh Hydroinformatics Fall 2012 This work was funded by National Science Foundation Grant EPS
ENTITY – RELATIONSHIP MODEL Melissa Ann D. Callejo Chairmane Abanilla.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
CSCI-100 Introduction to Computing
Order Database – ER Diagram
Presentation transcript:

ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.

SYMBOLS USED IN ENTITY RELATIONSHIP DIAGRAM DIAMOMD ARE NORMALLY USED TO REPRESENT RELATIONSHIPS. OVALS ARE USED TO REPRESENT ATTRIBUTES. BOXES ARE COMMONLY USED TO REPRESENT ENTITIES.

ONE-TO-ONE RELATIONSHIP ONE-TO-ONE RELATIONSHIPS OCCUR WHEN THERE IS EXACTLY ONE RECORD IN THE FIRST TABLE THAT CORRESPONDS TO EXACTLY ONE RECORD IN THE RELATED TABLE. EXAMPLE, This is a one-to-one relationship table design, a STOCK table contains exactly one record in STOCK_DETAIL table. Both tables have the same Stock Id as primary key. In STOCK_DETAIL table, Stock Id is the primary key and also a foreign key to STOCK table.

ONE-TO-MANY RELATIONSHIP ONE -TO-MANY RELATIONSHIPS OCCUR WHEN EACH RECORD IN TABLE A MAY HAVE MANY LINKED RECORDS IN TABLE B BUT EACH RECORD IN TABLE B MAY HAVE ONLY ONE CORRESPONDING RECORD IN TABLE A. EXAMPLE, STUDENT AND PHONE ENTITY. STUDENT CAN HAVE ANY NUMBER OF PHONE NUMBERS. TO CREATE THIS RELATIONSHIP YOU NEED TO HAVE A STUDENT, PHONE AND STUDENT_PHONE TABLE.

MANY-TO-MANY RELATIONSHIP MANY-TO-MANY RELATIONSHIP IS A RELATIONSHIP WHERE MULTIPLE ROWS FROM TABLE A CAN CORRESPOND TO MULTIPLE ROWS IN TABLE B. EXAMPLE, IS A SCHOOL WHERE TEACHERS TEACH STUDENTS. IN MOST SCHOOLS EACH TEACHER CAN TEACH MULTIPLE STUDENTS AND EACH STUDENT CAN BE TAUGHT BY MULTIPLE TEACHERS.