Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.

Slides:



Advertisements
Similar presentations
ERD diagram Data Design - Mr. Ahmad Al-Ghoul
Advertisements

Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Accounting System Design
Modeling the Data: Conceptual and Logical Data Modeling
Concepts of Database Management Sixth Edition
Entity-Relationship Model and Diagrams (continued)
3-1 Chapter 3 Data and Knowledge Management
System Analysis and Design
Concepts of Database Management Seventh Edition
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
APPENDIX C DESIGNING DATABASES
Microsoft ® Office Access ® 2007 Training Build a database III: Build relationships for a new Access database ICT Staff Development presents:
 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.
Database Design Concepts
Learningcomputer.com SQL Server 2008 – Entity Relationships in a Database.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Chapter 5 Entity–Relationship Modeling
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
Principles of Database Design, Part II AIMS 2710 R. Nakatsu.
Concepts and Terminology Introduction to Database.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
Information Systems Today (©2006 Prentice Hall) 3-1 CS3754 Class Note 12 Summery of Relational Database.
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.
1 Outline  What is a Primary Key?  AutoNumber primary keys  Single-field primary keys  Composite-field primary key  About Foreign Keys  Database.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Concepts of Database Management Eighth Edition Chapter 6 Database Design 2: Design Method.
Concepts of Database Management Sixth Edition Chapter 6 Database Design 2: Design Method.
Relational Database. Database Management System (DBMS)
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
Next Back A-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All rights.
Introduction to Database using Microsoft Access 2013 Part 7 November 19, 2014.
Microsoft Access 2013 ®® Tutorial 9 Using Action Queries and Advanced Table Relationships.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
Concepts of Database Management, Fifth Edition Chapter 6: Database Design 2: Design Methodology.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
Description and exemplification of entity-relationship modelling.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
In this session, you will learn to: Map an ER diagram to a table Objectives.
ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.
Relational Theory and Design
Build a database III: Build relationships for a new Access database Overview: You can relate This course teaches you how to build relationships between.
Databases Illuminated Chapter 3 The Entity Relationship Model.
SQL LANGUAGE and Relational Data Model TUTORIAL Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha.
Lesson 2: Designing a Database and Creating Tables.
1 6 Concepts of Database Management, 5 th Edition, Pratt & Adamski Chapter 6 Database Design 2: Design Methodology Spring 2006.
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.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
Sample Table Standard Notation Entity name in uppercase
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
Concepts of Database Management, Fifth Edition Chapter 6: Database Design 2: Design Methodology.
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
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
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.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Presentation transcript:

Teanna Clarke 6aQ

What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among entities in a system.  An Entity is an object in the system that has data.

An Entity-Relationship Diagram shows all the entities (organizations, departments, users, programs and data) that play roles in the system.

Entities are the "things" about which we seek information.

Attributes are the data we collect about the entities.

Relationships provide the structure needed to draw information from multiple entities.

A's relationship to B in the diagram above shown is that of a one to one relationship between the two tables. Specifically this means that for every row in table A there is one and only one corresponding row in table B. This requires that the number of rows in A must be the same as the number of rows in B.

C's relationship to D shown above is much more common, and will help to understand the bidirectional nature of this notation. Simply put, the symbol is to be interpreted that every row of D is uniquely related to specific row of C, while every row of C is related to at most one row of D.

This notation reads that a given row of E is related to one or more rows in F. To accomplish this, particular values of some foreign key in F, which is also the primary key of E, might be duplicated one or more times.

G:H shows the situation where a row of G corresponds to no row in H. This reads that rows of G are associated with zero or more rows of H.

One-to-one Relationship  In a one-to one relationship, each record in Table A can have only one matching record in Table B and vice versa.  A one-to-one relationship is created if both of the related fields are primary keys or unique indexes.

 This type of relationship is not common, because most information related in this way would be one table.  For example, A manager manages one department; a department has only one manager.

One-to-many Relationships  In a one-to-many relationship, a record in Table A can have many matching records in Table B, but a record in Table B has only one matching record in Table A.  A one-to-many relationship is created only if one of the related fields is a primary key or has a unique index.

 A one-to-many relationship is the most common type of relationship.  For example, one supplier can supply more than one product; but each product has only one product.

Many-to-many Relationships  In a many-to-many relationship, a record in Table A can have many matching records in Table B, and vice versa.  This type of relationship is only possible by defining a third table (called a junction or join table ) whose primary key consists of two fields- the foreign keys from both Tables A and B.

 A many-to-many relationship is really two one- to-many relationships with a third table.  For example, an Orders table and a Products table have a many-to-many, that is defined by creating two one-to-many relationships to the Orders Details table. One order can have many products, and each product can appear on many orders.