3.3.1. What is an Entity What is an Entity Relationship Diagram? Different types of relationships.

Slides:



Advertisements
Similar presentations
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Advertisements

Data Design The futureERD - CardinalityCODINGRelationshipsDefinition.
Unit 6 Research Project Eddie S. Jackson Kaplan University IT525: Database Design and Data Modeling 06/15/2014.
Concepts of Database Management Sixth Edition
Feb. 13, 2001CSci Clark University1 CSci 250 Software Design & Development Lecture #9 Tuesday, Feb. 13, 2001.
Secure Information Sharing. Role-Based Access Control USERSROLES SESSIONS OPSOBS PRMS session_rolesuser_session User Assignment (UA) Permission Assignment.
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.
Chapter 3: Data Modeling
APPENDIX C DESIGNING DATABASES
WJEC Applied ICT Databases – Attributes & Entities Entities A database contains one or more related tables. Each table holds all of the information.
Introduction to Databases
Chapter 7 Logical Database Design
Lesson 3 – Part 3 Access Lesson 3 Lesson Plans Michele Smith – North Buncombe High School, Weaverville, NC
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
 An entity-relationship (ER) diagram is a specialized graphic that illustrates the interrelationships between entities in a database.  An Entity Relationship.
Introduction to ArcGIS for Environmental Scientists Module 2 – Fundamentals Lecture 6 – Table Functions.
Entity-Relationship Diagrams
DATA MODELING AND DATABASE DESIGN DATA MODELING AND DATABASE DESIGN Part 1.
Structured Analysis Techniques
Database Design Concepts
The Teacher Computing Database Design CP4 Revision.
Converting ER model Into Relational Table
U:/msu/course/cse/103 Day 10, Slide 1 Multiple Table Database Review What are entities? What are records ? What are attributes?
Modeling Relationships Farrokh Alemi, Ph.D. Updated by Janusz Wojtusiak, Fall 2009.
Relational DB Components
Database Relationships. Types of Relationships One to one – Person to Driver’s License, Country to President, Person to Social Security Number (in theory)
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
The REA Model. The REA model provides structure for developing an accounting database It helps to identify It helps to The REA Model.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Database Management System
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
Entity Relationship Diagrams (ERDs). Entity Relationship Diagram (ERD) documentation technique to represent relationship between entities in system. Think.
© 2002 by Prentice Hall 1 Database Design David M. Kroenke Database Concepts 1e Chapter 5 5.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 9 – Building Links,
Database Design Using Entity-Relationship Models Transformation of Entity-Relationship Models into Relational Database Design Trees, Networks, and Bills.
Implementing an REA Model in a Relational Database
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 A Guide to MySQL 2 Database Design Fundamentals.
1 Outline  What is a Primary Key?  AutoNumber primary keys  Single-field primary keys  Composite-field primary key  About Foreign Keys  Database.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
Microsoft Access 2013 ®® Tutorial 9 Using Action Queries and Advanced Table Relationships.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
Description and exemplification of entity-relationship modelling.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
1 Data Modeling : ER Model…. Lecture Summary so for …. ER Model Entity, Attribute, Key Relationships Instance Diagram.
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
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan Lecture-03 Introduction –Data Models Lectured by, Jesmin Akhter.
Entity-Relationship Diagram
Resolving Many-to-Many Relationships. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –Identify attributes which.
1 ER Modeling BUAD/American University Mapping ER modeling to Relationships.
Link tables and keys Access/IPS Walsall College of Arts & Technology.
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.
Let’s go on an excursion of our school. Welcome to our school!
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Entity Relationship Diagrams (ERDs)
IST 220 – Intro to DB Lecture 4 Database Design thru ER Modeling.
E.R Diagrams Tiffany Shaw 6AQ
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
5 1 Normalization of Database Tables. 5 2 Database Tables and Normalization Normalization –Process for evaluating and correcting table structures to minimize.
Data Modeling AND ER MODELS.
Course Instructor: Kashif I hsan 1. Chapter # 6 2.
Order Database – ER Diagram
Concept Video click Education.
Presentation transcript:

3.3.1

What is an Entity What is an Entity Relationship Diagram? Different types of relationships

Systems can be confusing things. To help people understand what they are trying to design they often use diagrams. There are different styles of diagrams including: – Entity Relationship Diagrams – State Transition Diagrams – Data Flow Diagrams – Flowcharts The type of diagram used will depend on the system being designed but a combination of diagrams can be used on the same project.

Entities are ‘things’. Each entity is made up of attributes. For example, a is an entity. It is made up of leaves... and other things.

Strictly speaking... The is also an entity...as it too is made up of different attributes!

There are different types of relationship which you need to be aware of: – One-to-One – One-to-Many – Many-to-Many

Assuming a teacher only taught in one classroom in a school... Teacher Classroom

A teacher has many lessons but a lesson can only have one teacher. Teacher Lesson

A teacher has many students and a student can have many teachers. Many-to-Many relationships are never ideal so a third table is often created. Teacher Students

A third table is added to create two One-to- Many relationships. Teacher Students Class