E-R model for Exercise #1 Comments: 1. There is a lot of process, or data flow information in this description that will not be modeled in the E-R diagram,

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

Entity Relationship Diagrams
Logical DB Design: ER to Relational Entity sets to tables. Employees ssn name lot CREATE TABLE Employees (ssn CHAR (11), name CHAR (20), lot INTEGER, PRIMARY.
Data Modeling. What are you keeping track of? You begin to develop a database by deciding what you are going to keep track of. Each thing that you are.
ER Modeling I Exercise Solutions. 2 Solution to Q1.
NFHS Announcer Presentation Basketball Game Administration
Characteristics of Statistical Data
1 Relationships Entities take part in relationships. We can often identify relationships from verbs or verb phrases. For example – you are attending this.
Weak Entity Sets. Occasionally, entities of an entity set need “help” to identify them uniquely. Example. Crews might have a number and some description,
Weak Entity Sets. Occasionally, entities of an entity set need “help” to identify them uniquely. Entity set E is weak if in order to identify entities.
Entity Relationship Diagrams
CHAPTER 2: MODELING DATA IN THE ORGANIZATION © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey.
COMM 226 ERD case: School of Business
Data Modeling Introduction. Learning Objectives Define key data modeling terms –Entity type –Attribute –Multivalued attribute –Relationship –Degree –Cardinality.
Case study Lisa’s Bookstore IST210.
Data Modeling and Entity- Relationship Model I IST2101.
Dr Derek Peacock14/08/20151 Database Design 1:1 Relationships Dr Derek Peacock.
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 Using the Entity-Relationship Model
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
NFL E/R Design Problem Design an Entity-Relationship Diagram that models the following objects and relationships in the world of football (NFL): teams,
Dr. Mohamed Osman Hegaz1 Conceptual data base design: The conceptual models: The Entity Relationship Model.
Database Design Concepts
Middle Leaders’ Toolkit for Development. How to develop and lead high performing teams How to lead and bring about change as a middle leader.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Entity-Relationship Model Chapter 2.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
Principles of Database Systems With Internet and Java Applications Today’s Topic Chapter 2: Representing Information with Data Models The lecture notes.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
G057 - Lecture 02 Introduction To Database System Concepts Mr C Johnston ICT Teacher
CMPT 258 Database Systems The Entity-Relationship Model Part II (Chapter 2)
Information Systems Today (©2006 Prentice Hall) 3-1 CS3754 Class Note 12 Summery of Relational Database.
IE 423 – Design of Decision Support Systems Data modeling and database development.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
ER-tutorial Conceptual Design
Database Management Systems MIT Lesson 02 – Database Design (Entity Relationship Diagram) By S. Sabraz Nawaz.
Normalization Exercise. First Normal Form Second Normal Form.
 Primary keys allow entity sets and relationship sets to be expressed uniformly as relations  E/R diagram  collection of tables  For each entity set.
Carnegie Mellon University © Robert T. Monroe Management Information Systems Data Modeling Management Information Systems Robert.
Entity-Relationship Model Chapter 3 II COSC 457 Sungchul Hong.
Any Sports League A Sample Presentation Depicting the Requirements of Your Group Project.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Link tables and keys Access/IPS Walsall College of Arts & Technology.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
1 What is Data? l An attribute is a property or characteristic of an object l Examples: eye color of a person, temperature, etc. l Attribute is also known.
Tutorial 2 Data Modelling. 3 Terminology & Notation(1) An entity is an object about which the system needs to hold information –Customer, Student, Course.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
ERD case: School of Business Chitu Okoli Associate Professor in Business Technology Management John Molson School of Business, Concordia University, Montréal.
IE 423 – Design of Decision Support Systems Data modeling and database development.
People with disabilities constitute the world’s largest minority group, and the only group that any of us can become a member of at any time.
Data Modeling and Entity-Relationship Model I
PAIR project progress report Yi-Ting Chou Shui-Lung Chuang Xuanhui Wang.
DATA MODELING AND ENTITY-RELATIONSHIP MODEL II IST 210: Organization of Data IST210 1.
1 Database Design Sections 6 & 7 First Normal Form (1NF), Second Normal Form (2NF), Unique Identifiers (UID), Third Normal Form (3NF), Arcs, Hierarchies.
Elements Of Modeling. 1.Data Modeling  Data modeling answers a set of specific questions that are relevant to any data processing application. e.g. ◦
Comp 1100 Entity-Relationship (ER) Model
RSA Case Study.
GAME MANAGEMENT – TIM BROWN Keep a respectful tone.   As simple as this sounds, some coaches and officials find this challenging. Speaking to.
Entity-Relationship Model
The Jonesburgh County Basketball Conference (JCBC) is an amateur basketball  association. Each city in the county has one team that represents it.  Each.
Solution Problem1 Exam0 ssn Sal empl. name name Person Team city contr
Peewee AA Evaluation Process
Instruction Assignment #1 (due May 16, 2018)
HOW TO WRITE A MISCONDUCT REPORT
ERD (Entity Relationship Diagrams)
Database Modeling using Entity Relationship Model (E-R Model)
Lesson Objectives Aims You should know about: 1.3.2:
UPCS Boys Volleyball All boys in the 6th through 8th grade are invited to tryout for our Volleyball team. Dates: Tuesday, April 17th at 3:00pm-4:00pm.
HOW TO WRITE A MISCONDUCT REPORT
Presentation transcript:

E-R model for Exercise #1 Comments: 1. There is a lot of process, or data flow information in this description that will not be modeled in the E-R diagram, for example, filling out forms, reviewing forms, writing data on forms, doing tryouts. In E-R modeling, we want to know what are the main subjects (entities) of interest and what facts (attributes) do we want to maintain about them. Looking at the data in the Excel spreadsheet reinforces the idea that there are to subjects of major interest here: the teams, and their players. Each become an entity. Relevant attributes are then identified for each entity. Player name/DOB is used as the key (though it’s not ideal) 2. One question is whether “coach” should be an entity or an attribute of the entity TEAM. It would be possible to model coach as an entity, which would then have a 1-to-1 relationship with TEAM. This would be appropriate if we expect to maintain information about coaches (i.e., attributes of coach) or we expect to do analysis about coaches or coaches have relationships with other entities. Here, I’ve adopted the simpler approach of noting the name of the coach assigned to a team. TEAM PLAYER Is assigned Is assigned to name DOB height rating address name Coach Ranking Phone #

E-R model for Exercise #2 Comments: There is a unary relationship in which “TEAM plays TEAM” that results in a game. Because games are events of interest to the League, and there are data elements we want to keep for each game, we treat this unary relationship as an associative entity. The teams play different roles: home and visitor. TEAM PLAYER Is assigned Is assigned to name DOB height rating address name Coach Ranking Phone # Game Is home team Is visitor team Has home team Has visitor team Game number Visitor score Home score Date Time

E-R model for Exercise #3 Comments: Here we have another associative entity that arises from the relationship between a player and game. Look at the sample data to see that this model makes sense. E.G., There are two statistics for Game #1, but each statistic is for only one player. Each player has 5 statistics, one for each game. In this instance, the natural key for GAME STATISTIC is the combination of GAME#/NAME&DOB. TEAM PLAYER Is assigned Is assigned to name DOB height rating address name Coach Ranking Phone # Game Is home team Is visitor team Has home team Has visitor team Game number Visitor score Home score Date Time GAME STATISTIC points Foul% Fouls on Attendance Game number/Name&DOB Is for Has Is for