BTEC National Extended Diploma1 IT Systems Analysis and Design Entity Relationship Diagrams.

Slides:



Advertisements
Similar presentations
Convert ER to Relational Database Entity relation Entity relation Attributes attributes Attributes attributes Primary key primary key Primary key primary.
Advertisements

Relationships Relational Database. Identifying Entities… In the previous tutorial you learnt about identifying entities in a flat file database. Also.
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.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Introduction to Database. File Formats Comma delimited file –"s1","peter",3 –"s2","paul",2.5 –"s3","mary",3.5 –Demo: Excel – Data/Import Extended Markup.
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.
Entity Relationships. Relationships Relationships exist between entities The type of relationship is entirely dependent on the business rules The business.
Database Relationships Objective 5.01 Understand database tables used in business.
 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
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.
Week 6 Lecture Normalization
CREATE THE DIFFERENCE Normalisation (special thanks to Janet Francis for this presentation)
Database Management System Lecture 6 The Relational Database Model – Keys, Integrity Rules.
DATA MODELING AND DATABASE DESIGN
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.
Database Design. The process of developing database structures from user requirements for data a structured methodology Structured Methodology - a number.
CORE 2: Information systems and Databases NORMALISING DATABASES.
Customer Order Order Number Date Cust ID Last Name First Name State Amount Tax Rate Product 1 ID Product 1 Description Product 1 Quantity Product 2 ID.
IS 230Lecture 4Slide 1 Entity Relationship to Relational Model Mapping Lecture 5.
Description and exemplification of entity-relationship modelling.
Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
System and data modeling tools Revision. Schemas A schema shows the organisational structure of a database. It should show the entities (the tables in.
Database Design. The process of developing database structures from user requirements for data a structured methodology Structured Methodology - a number.
ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.
Normalization Is the gradual and sequential process of efficiently organizing data in a database that follows the rules listed in the previous slide –
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.
ERD Narrative (p158 Lab Manual) With Additional Notes!!
Referential Integrity
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.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
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.
Microsoft Access CS 110 Fall Entity Relationship Model Entities Entities Principal data object about which information is to be collectedPrincipal.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
DATA SCIENCE MIS0855 | Spring 2016 Designing 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.
Flat file and relational databases Flat file database In a flat file database information is held in a single table. Student IDStudent name GenderDOBCourse.
Data Base Design Steps 1.Define Entity Classes (Relations/Tables) and Keys. 2.Define Relationships between Entity Classes. Normalization Steps Eliminate.
Database Relationships
CSCI-100 Introduction to Computing
CTFS Asia Region Workshop 2014
Order Database – ER Diagram
Entity relationship diagrams
5.02 Understand database queries, forms, and reports used in business.
Unit 18 Database Design Extended Diploma in ICT Julie Hodsdon
Databases and Information Management
Database Relationships
Databases 1.
Conceptual Data Modeling
Presentation transcript:

BTEC National Extended Diploma1 IT Systems Analysis and Design Entity Relationship Diagrams

BTEC National Extended Diploma2 Aims Gain some understanding into Entity Relationship Diagrams (ERD) and what they are used for. Attempt to understand the decomposed process Attempt to create an ERD diagram

BTEC National Extended Diploma3 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 Extended Diploma4 Entity Relationship Diagrams ERD – Entities  Real world things that are part of the system under investigation.  Examples include Products, Customers, Orders.

BTEC National Extended Diploma5 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 Extended Diploma6 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 Extended Diploma7 Entity Relationship Diagrams OrderIDEmployeeIDProductIDOrderDateDeliver_byComments 1100A129/03/200929/04/2009Ring the bell 1100A229/03/200929/04/2009Ring the bell 1100A329/03/200929/04/2009Ring the bell 2101A116/04/200917/04/2009N/A 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 Extended Diploma8 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 Customer Can Make M 1

BTEC National Extended Diploma9 Entity Relationship Diagrams OrderI D Product ID Qty 1A11 1A215 1A323 2A112 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. OrderIDEmployeeIDCustIDOrderDateDeliver_byComments 1100C129/03/200929/04/2009Ring the bell 2101C216/04/200917/04/2009N/A Order table EmployeeIDEmployee Name 100John Smith 101Mia Lee Product Employee ProductIDProductName A1Football A2Tennis Ball A3Golf Clubs CustIDCust Name C1Gianni Albin C2Martin Jones Customer

BTEC National Extended Diploma10 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/2009Ring the bell These are all attributes, they have a name and a value.

BTEC National Extended Diploma11 Conclusion Gained some understanding into Entity Relationship Diagrams (ERD) and what they are used for. Attempted to understand the decomposed process Attempted to create an ERD diagram