Entity Relationship Diagram Prepared by: Lobna Morsy

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

Information System Analysis Lab 7. ERD entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities,
Concepts of Database Management Seventh Edition Chapter 6 Database Design : ERD Model.
FIS 431/631 Financial Information Systems: Analysis and Design REA Modeling Joe Callaghan Oakland University Department of Accounting & Finance.
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.
Database Design Concepts Info1408
Data Modeling and Entity- Relationship Model I IST2101.
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
DATA MODELING AND DATABASE DESIGN DATA MODELING AND DATABASE DESIGN Part 1.
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
Business Process Modeling
Database. Basic Definitions Database: A collection of related data. Database Management System (DBMS): A software package/ system to facilitate the creation.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Database Design Principles – Lecture 3
Database Design – Lecture 3 Conceptual Database Design.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Prepared by Katie Girmus Fall Step 1: Define Entity Classes and Primary Keys Step 2: Define Relationships Among Entity Classes Step 3: Define Fields.
CS263 Lecture 5: Logical Database Design Can express the structure of a relation by a Tuple, a shorthand notation Name of the relation is followed (in.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
Order Database – ER Diagram Prepared by Bryan Borcher Spring 2014.
ENTITY RELATIONSHIP DIAGRAM. Objectives Define terms related to entity relationship modeling, including entity, entity instances, attribute, relationship.
Database Design Chapters 17 and 18.
Entity Relationship Modeling
DATA MODELING AND DATABASE DESIGN
Entity/Relationship Modelling
Data Modeling Using the ERD
Order Database – ER Diagram
Let try to identify the conectivity of these entity relationship
Database Constraints Ashima Wadhwa.
Entity Relationship Model
Order Database – ER Diagram
MIS2502: Data Analytics Relational Data Modeling
Tables and Their Characteristics
Order Database – ER Diagram
Order Database – ER Diagram
MIS5101: Business Intelligence Relational Data Modeling
Entity-Relationship Model and Diagrams (continued)
Order Database – ER Diagram
Data Modelling Introduction
ERD’s REVIEW DBS201.
Entity Relationship Diagrams ERDs
MIS2502: Data Analytics Relational Data Modeling
MIS2502: Review for Exam 1 JaeHwuen Jung
Technical Module A Data Modeling Definitions
MIS2502: Data Analytics Converting ERDs to Schemas
Customer Order Entry Database Version: 1.1 by: R. Holowczak
MIS2502: Data Analytics Relational Data Modeling
Schema Template Employee Office EmployeeOffice EmployeeID OfficeID
Order Database – ER Diagram
Database Design Chapters 17 and 18.
MIS2502: Data Analytics Relational Data Modeling
Chapter 1: The Database Environment
ITEC 3220A Using and Designing Database Systems
Order Database – ER Diagram
ER Diagram Master How to use this template
Relationships—Topics
MIS2502: Data Analytics Relational Data Modeling
Entity-Relationship Diagram (ERD)
Mapping an ERD to a Relational Database
MIS2502: Data Analytics Relational Data Modeling 2
MIS2502: Data Analytics Relational Data Modeling 3
Entity Relationship Model
Entity-Relationship (E-R) Modeling
Conceptual Data Modeling
DATA MODELING AND DATABASE DESIGN
Presentation transcript:

Entity Relationship Diagram Prepared by: Lobna Morsy (ERD) Prepared by: Lobna Morsy Suppliers #supplier_code supplier_name Products #product_id product_name product_price Customer_Orders_Products #order_line_id quantity Customer_Orders # order_id date_order_placed discount_rate Customers #customer_id first_name middle_name last_name Customer_Addresses #address_id street_address city state_province_county country Customers_Payment _Methods # card_number date_from date_to Product_Types #product_type_code product_type_name Payment_Methods #payment_ method_code payment_ method_name supply supplied by belongs to has places placed by ordered include includes included in chosen chooses belongs to owns owned

Agenda Database Components of ERD Practice Reading ERDs

What is a database? Database: Central source of data meant to be shared by many users for a variety of applications

Components on an ERD Entities (table) Relationships (business rules) Attributes (column) Entity Name verb Entity Name #attribute_1 attribute_2 attribute_3

Entities Entity Name Entity: Something about which someone chooses to collect data (table) Person Place Thing Event Unit of time Customers Cinemas Tickets Purchases Show times

Relationships verb Relationships: Associations between entities (business rules) Optionality Mandatory Optional verb One Many Cardinality

Relationships verb Cardinality One Many Optionality Optional Mandatory

Reading Relationships Employees Tasks belong to assigned to entity_name one and only one/many verb may/must entity_name Each Each entity_name may/must verb one and only one/many entity_name Each task must belong to one and only one employee Each employee may be assigned to many tasks

Examples of Relationships Each entity_name may/must verb one and only one/many entity_name Instructors Courses teach taught by Employees Offices assigned to assigned for Suppliers Products supply supplied by

Attributes Entity Name #attribute_1 attribute_2 attribute_3 Attribute: some characteristics of an entity (column) Primary key: used to uniquely identify a record. Suppliers #supplier_code supplier_name contact_person contact_person_phone

Customer_Orders_Products Suppliers #supplier_code supplier_name Products #product_id product_name product_price Customer_Orders_Products #order_line_id quantity Customer_Orders # order_id date_order_placed discount_rate Customers #customer_id first_name middle_name last_name Customer_Addresses #address_id street_address city state_province_county country Customers_Payment _Methods # card_number date_from date_to Product_Types #product_type_code product_type_name Payment_Methods #payment_ method_code payment_ method_name supply supplied by belongs to has places placed by ordered include includes included in chosen chooses belongs to owns owned

www.databaseanswers.com