Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams.

Slides:



Advertisements
Similar presentations
Relationships Relational Database. Identifying Entities… In the previous tutorial you learnt about identifying entities in a flat file database. Also.
Advertisements

WHAT D IS RAW, UNPROCESSED FACTS AND FIGURES COLLECTED, STORED AND PROCESSED BY COMPUTERS.
GCSE Computing#BristolMet Session Objectives# 21 MUST describe methods of validating data as it is input. SHOULD explain the use of key fields to connect.
Normalisation Ensuring data integrity in database design 1.
© 2005 by Prentice Hall Chapter 3a Database Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Data Modeling with ERD ISYS 363. Entity-Relationship Diagram An entity is a “thing” in the real world, such as a person, place, event for which we intend.
Lecture 10 Conversion to tables Database Design Concepts INFO1408.
MIS 451 Building Business Intelligence Systems Logical Design (3) – Design Multiple-fact Dimensional Model.
Database – Part 2a Dr. V.T. Raja Oregon State University.
Database Relationships Objective 5.01 Understand database tables used in business.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
 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.
Class Agenda – 04/04/2006 Discuss database modeling issues
Creating Entity Relationship Diagrams. Identify data stores The data stores are easy to identify if you have already created a data flow diagram If you.
Database Design Concepts
1 Desing Database Systems. 2 Hierarchy database The structure of data is like a tree Parent-children relationship Pointers Central depot West depotEast.
CREATE THE DIFFERENCE Normalisation (special thanks to Janet Francis for this presentation)
Database Management System Lecture 6 The Relational Database Model – Keys, Integrity Rules.
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
BUS1MIS Management Information Systems Semester 1, 2012 Access: Creating a Database Week 6 Lecture 2.
Relational databases and third normal form As always click on speaker notes under view when executing to get more information!
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
CTFS Workshop Shameema Esufali Suzanne Lao Data coordinators and technical resources for the network
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
CORE 2: Information systems and Databases NORMALISING DATABASES.
BTEC National Extended Diploma1 IT Systems Analysis and Design Entity Relationship Diagrams.
What we’ve learnt Doc 5.69 Doc 5.70 Section 1-3. A simple database Related objects Tables hold the data Forms, reports, queries to access the data.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Section 08 (a)ER Modelling In Practice1 HSQ - DATABASES & SQL And Franchise Colleges 08 (a) ER Modelling In Practice QUICKHIRE Car Company.
Handling Many to Many Relationships. 2 Handling Many:Many Relationships Aims: To explain why M:M relationships cannot be implemented in relational database.
Description and exemplification of entity-relationship modelling.
In this session, you will learn to: Map an ER diagram to a table Objectives.
Relational Theory and Design
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Unit 5 Advanced Databases The Purpose and features of a relational database.
Order Database – ER Diagram Prepared by Megan Foster Fall Semester 2014.
ERD Narrative (p158 Lab Manual) With Additional Notes!!
CTFS Workshop Shameema Esufali Asian data coordinator and technical resource for the network
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
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-
Data modeling Process. Copyright © CIST 2 Definition What is data modeling? –Identify the real world data that must be stored on the database –Design.
* 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.
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design Entity Relationship Diagrams.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Database Design. Database Design Process Data Model Requirements Application 1 Database Requirements Application 2 Requirements Application 4 Requirements.
Howard Paul. Sequential Access Index Files and Data File Random Access.
DATA MODELING AND DATABASE DESIGN DATA MODELING AND DATABASE DESIGN Part 2.
Order Database – ER Diagram Prepared by Bryan Borcher Spring 2014.
Microsoft Access 2010 Chapter 11 Database Design.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals Data.
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.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
Order Database – ER Diagram
CSCI-100 Introduction to Computing
Databases and Information Management
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
Order Database – ER Diagram
Data Modelling Introduction
Entity relationship diagrams
5.02 Understand database queries, forms, and reports used in business.
Databases and Information Management
Databases 1.
Conceptual Data Modeling
Presentation transcript:

Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams

Btec National - Advanced Databases 2 Aims Learn about Entity Relationship Diagrams (ERD) and what they are used for. Understand the decomposed process Create an ERD diagram

Btec National - Advanced Databases 3 Entity Relationship Diagrams ERD –An ERD represents the entities and the relationships that exists between them. –An ERD diagram is created to establish what tables within a database are required and what foreign keys are needed

Btec National - Advanced Databases 4 Entity Relationship Diagrams ERD – Entities –Real world things that are part of the system under investigation. –Examples include Products, Customers, Orders.

Btec National - Advanced Databases 5 Entity Relationship Diagrams ERD – Relationship –Relationships illustrate how two entities share information in the database structure. –Relationships exists between each of the entities examples are shown below: 1M MM 11

Btec National - Advanced Databases 6 Entity Relationship Diagrams ProductsEmployeeOrder MM M1 Makesinvolves A many to many relationship as shown above is not allowed because it will create duplicate data, and repeating groups. For more information use the link below: eating_groups.htm

Btec National - Advanced Databases 7 Entity Relationship Diagrams OrderIDEmployeeIDProductIDOrderDateDeliverbyComments 1100A129/03/200929/04/2009 Ring the bell 1100A229/03/200929/04/ A329/03/200929/04/2009 Order table This is the result of a many to many relationship, as you can see there is repeating groups of data (A1, A2,A3), the OrderID primary key has lost it’s uniqueness and there is loads of redundancy i.e. the order date 29/03/2009 is stored more than once.

Btec National - Advanced Databases 8 Entity Relationship Diagrams Products EmployeeOrder M1 Makes To resolve this many to many relationship we have to add another table which is a decomposed table of order and products, called Order Products. Order Products M1 Consists M Included 1

Btec National - Advanced Databases 9 Entity Relationship Diagrams OrderIDProductID 1A1 1A2 1A3 Order Products By using the decomposed table it reduced redundancy and removed repeating groups from the Order table, this results in a better functioning database.OrderIDEmployeeIDOrderDateDeliverbyComments110029/03/200929/04/2009 Ring the bell Order table

Btec National - Advanced Databases 10 Entity Relationship Diagrams ERD – Attribute –An attribute is a specification that defines a property of an entity. An attribute of an entity usually consists of a name and a value for example: OrderIDEmployeeIDOrderDateDeliverbyComments /03/200929/04/2009 Ring the bell These are all attributes, they have a name and a value.

Btec National - Advanced Databases 11 Conclusion Learnt about Entity Relationship Diagrams (ERD) and what they are used for. Discussed the decomposed process Created an ERD diagram