BSAD 141, Fall 2017 In-class ERD exercise (Tuesday, 10/24)

Size: px
Start display at page:

Download "BSAD 141, Fall 2017 In-class ERD exercise (Tuesday, 10/24)"

Transcription

1 BSAD 4, Fall 207 In-class ERD exercise (Tuesday, 0/24) Student / Course Section example: This example builds directly on the : example we discussed in class last week and is the last in-class example that involves normalizing data. You are given a bunch of data that are loosely organized into Excel tables. The data are not normalized. They are kind of a mess and you should notice that there are quite a few redundancies in the data. If we were to scale the example up by adding more data, it would quickly become very difficult to manage and use the data in their current form.. Normalize the data by Identify the specific entities (people, places, things, events) about which data are collected. These entities will become the entity sets or tables in your ERD and subsequently in the Access RDBS. You want to separate the attributes and data associated with each entity and put those data in the appropriate tables. For example: you have information specifically related to students. 2. By looking at the data and thinking about the relationships between the different entities, you should be able to come up with logical or sensible relationships between the tables in your ERD. For example: how would you relate the entity course to entity course section? A specific course can have many course sections, but each course section belongs to only one course. i.e. the course BSAD 4 can have many course sections associated with it (BSAD 4 A, BSAD 4 B, BSAD 4 C, etc ), but each course section (A, B, C, etc ) belongs to the one course BSAD 4. Each course section has its own CRN, has a unique meeting time, is taught by a particular professor, etc. Course Can have Each belongs to Course Section 3. DRAW (with pen or pencil) the ERD describing the relationships between all of the entities. Using the data I provided you, list the attributes associated with each table. USE PROPER NOTATION!!! a) ID the PK for each entity (if there is not a PK that should be used, you could create one) b) List the attributes (fields) for each entity under/by each table c) ID and resolve any : relationships d) ID ALL FKs

2 4. Once you have completed the written ERD, implement the ERD in S Access. Pay attention to how you format the attribute field. For example, you should format numeric data as numbers, dates as time/data, etc. ake sure you can correctly link all tables using relationships menu item and make sure you check enforce referential integrity. Some pointers for Access (we have discussed these in class):. Build your tables and relationships st don t start putting data in the tables before all tables a built and the relationships are set 2. ake sure all tables have an appropriate PK field. It could be a composite key in some cases. 3. Place all FK attributes in appropriate tables 4. Create the relationships in Access 5. ONLY ENTER DATA AFTER YOU ARE SURE THE TABLE STRUCTURE AND KEYS ARE CORRECT AND ATCH YOUR ERD 6. Enter data on the ONE SIDE of the relationship first

3 Stu_# Stu_L_Name Stu_F_Name Stu_Add Crse_Title Section CRN Crse_Start Crse_End Prof_L_Name eet_day Building Room_# Grade 4455 Wier Bob 23 Green St. BSAD 4 A 333 0:00 A :5 A Novak T, TH Kalkin 004 A Smith Sally 62 Yellow St. BSAD 4 A 333 0:00 A :5 A Novak T, TH Kalkin 004 C 2222 Simpson Lisa 80 Red Road BSAD 4 A 333 0:00 A :5 A Novak T, TH Kalkin 004 A Burns onty 5 Reactor Rd. BSAD 4 A 333 0:00 A :5 A Novak T, TH Kalkin 004 B 4455 Wier Bob 23 Green St. BSAD 80 A 23 :30 A 2:45 P Thomas T, TH Kalkin 003 B 6688 Smith Sally 62 Yellow St. BSAD 80 A 23 :30 A 2:45 P Thomas T, TH Kalkin 003 B 2222 Simpson Lisa 80 Red Road BSAD 80 A 23 :30 A 2:45 P Thomas T, TH Kalkin 003 A Burns onty 5 Reactor Rd. BSAD 80 A 23 :30 A 2:45 P Thomas T, TH Kalkin 003 C 4455 Wier Bob 23 Green St. BSAD 73 B 222 9:00 A 0:5 A Lucas, W Kalkin 004 B Smith Sally 62 Yellow St. BSAD 73 B 222 9:00 A 0:5 A Lucas, W Kalkin 004 B Simpson Lisa 80 Red Road BSAD 73 B 222 9:00 A 0:5 A Lucas, W Kalkin 004 A Burns onty 5 Reactor Rd. BSAD 73 B 222 9:00 A 0:5 A Lucas, W Kalkin 004 C+ Building Room_# Seat_Cap Audio/Visual Kalkin yes Kalkin yes Votey no Kalkin yes Prof_ID Prof_L_Name Prof_F_Name Office_# Phone_# Crse_Title Section CRN Crse_Start Crse_End eet_day P Novak David BSAD 4 A 333 0:00 A :5 A T, TH P Novak David BSAD 4 B 334 :30 A 2:45 P T, TH P20 Thomas ike 33 A BSAD 80 A 23 :30 A 2:45 P T, TH P20 Thomas ike 33 A BSAD 280 A 555 5:00 P 6:5 P T, TH P Do Hung BSAD 73 A 220 :00 P 3:30 P F P8 Lucas arilyn BSAD 73 B 222 9:00 A 0:5 A, W

4 Crse_Title Section CRN Crse_Start Crse_End eet_day Building Room_# BSAD 4 A 333 0:00 A :5 A T, TH Kalkin 004 BSAD 4 B 444 :30 A 2:45 P T, TH Kalkin 004 BSAD 80 A 23 :30 A 2:45 P T, TH Kalkin 003 BSAD 280 A 555 5:00 P 8:5 T, TH Kalkin 00 BSAD 73 B 222 9:00 A 0:5 A, W Kalkin 004 Crse_Name Crse_Title Crse_description Credits Introduces business information systems and how they enable better managerial decision-making. Discusses problems in analyzing, designing, and implementing such systems. 3 Introduction to anagement Information Systems BSAD 4 anagerial Finance BSAD 80 Production and Operations Analysis BSAD 73 Principles of anagement and Org Behavior BSAD 20 Financial Accounting BSAD 60 The financial function in the corporation. Techniques for evaluating current use of resources and proposed resource acquisitions or dispositions. 3 Introduces decisions related to the design, management, and improvement of activities that create and deliver a firm's products and services. 3 How people in organizations think and behave. Focuses on how leadership and motivation affect individuals and teams in the workplace and a global business context. 3 Introduction to the accounting system and generally accepted accounting principles that govern income determination and financial position presentation. 3

5 Course Has Professor Teaches Is taught by Part of Section Taught in Can be Listed on Lists Schedule Line Item Lists Can be Listed on Student Can hold Room Professor table Prof_ID (PK) Prof_L_Name Prof_F_Name Prof_Phone Office# Course table Crse_Title (PK) Crse_Name Crse_Desc Credits Student table Stu_I# (PK) Stu_L_Name Stu_F_Name Stu_Address Room table Room# (PK) Building (PK) Seat_Capacity Audio/Visual Composite PK Section table CRN (PK) Section_Letter Crse_Start_Time Crse_End_Time Crse_eet_Day Crse_Title (FK to Course Table) Prof_ID (FK to Professor table) Room# Building Composite PK Composite FK to room table Schedule Line Item table CRN (PK) (Also FK to Section table) Stu_# (PK) (Also FK to Student table) Grade

6 Student Table Design View Course Table Design View

7 Professor Table Design View Room Table (Note that this table has a composite PK) Design View

8 Section Table (Note that this table has 3 foreign keys Prof_ID to Professor, Course_Title to Course, and the composite of Room# and Building to Room) Design View Schedule Line Item table (Note that this table has a composite PK and 2 foreign keys CRN to section, and Stu_# to student) Design View

9 The relationships in Access look like: Now, once you have created all the tables using the appropriate attributes, have identified your primary keys in each table, and have included all foreign keys in the appropriate tables, you can enter data.

10 ALWAYS enter data on the parent side of the relationship FIRST. So, start with the tables that are on the (one) side of the relationship: Professor, Course, Room, and Student. This prevents referential integrity violations. Next, enter data in the Section table (because CRN is a foreign key in Schedule Line Item). And, lastly enter data in the Schedule Line Item table.

A hypothetical M:M student schedule example

A hypothetical M:M student schedule example A hypothetical : student schedule example We are interested in creating a relationship between two tables: Student and Class Section. We want to be able to be able to have students register for different

More information

Introduction to MS Access: creating tables, keys, and relationships

Introduction to MS Access: creating tables, keys, and relationships Introduction to MS Access: creating tables, keys, and relationships BSAD 141 Dave Novak Topics Covered Brief introduction to MS Access Name and save a DB file Create tables and keys Create and enforce

More information

Relational Database Components

Relational Database Components Relational Database Components Chapter 2 Class 01: Relational Database Components 1 Class 01: Relational Database Components 2 Conceptual Database Design Components Class 01: Relational Database Components

More information

Entity Relationship Diagrams and Relational DBs

Entity Relationship Diagrams and Relational DBs Entity Relationship Diagrams and Relational DBs BSAD 4 Dave Novak Topics Covered ERD (entity relationship diagram) Data Modeling Entity vs- Entity set Attribute vs- Relationship Types of attributes and

More information

Normalization. Normal Forms. Normal Forms

Normalization. Normal Forms. Normal Forms Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities. 5- Normal Forms First Normal Form (NF) There are no attributes

More information

CS275 Intro to Databases

CS275 Intro to Databases CS275 Intro to Databases The Relational Data Model Chap. 3 How Is Data Retrieved and Manipulated? Queries Data manipulation language (DML) Retrieval Add Delete Update An Example UNIVERSITY database Information

More information

Entity Relationship Modeling. From Rob and Coronel (2004), Database Systems: Design, Implementation, and Management

Entity Relationship Modeling. From Rob and Coronel (2004), Database Systems: Design, Implementation, and Management Entity Relationship Modeling Entity-Relationship Diagram (ERD) Components Entities: correspond to tables in the relational database Attributes: define the characteristics of entities Attributes have a

More information

Chapter 4. In this chapter, you will learn:

Chapter 4. In this chapter, you will learn: Chapter Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The main characteristics of entity

More information

Lecture 18. Business Intelligence and Data Warehousing. 1:M Normalization. M:M Normalization 11/1/2017. Topics Covered

Lecture 18. Business Intelligence and Data Warehousing. 1:M Normalization. M:M Normalization 11/1/2017. Topics Covered Lecture 18 Business Intelligence and Data Warehousing BDIS 6.2 BSAD 141 Dave Novak Topics Covered Test # Review What is Business Intelligence? How can an organization be data rich and information poor?

More information

Batch Programme Structure

Batch Programme Structure 2019-20 Batch Programme Structure Executive PGDM is 15 months full-time Management Programme (generally known as Fast Track MBA), which is ideal for junior and middle level executives who need a management

More information

Database Management Systems

Database Management Systems Database Management Systems Associate Professor Dr. Raed Ibraheem Hamed University of Human Development, College of Science and Technology Computer Science Department 2015 2016 Department of Computer Science

More information

1.264 Lecture 6. Data modeling

1.264 Lecture 6. Data modeling 1.264 Lecture 6 Data modeling 1. Data models Data model is representation of Things (or entities or objects) of importance to a business How the things relate to each other It is built and modified until

More information

SUMMER EXAMINATIONS 2013

SUMMER EXAMINATIONS 2013 SUMMER EXAMINATIONS 2013 CSY202913N MODULE TITLE Database Technology 1 LEVEL TIME ALLOWED Five Two Hours Instructions to students: Enter your student number not your name on all answer booklets. You are

More information

MBA (Part Time) Batch Program Structure

MBA (Part Time) Batch Program Structure MBA (Part Time) 2019-21 Batch Program Structure MBA (Part Time) is a 30 months program conducted separately on Weekdays in the evening Monday to Friday and Weekends Saturdays & Sundays from morning to

More information

Entity-Relationship Model &

Entity-Relationship Model & Entity-Relationship Model & IST 210 Diagram Todd S. Bacastow IST 210: Organization of data 2/1/2004 1 Design Principles Setting client has (possibly vague) idea of what he/she wants. YOUR task must design

More information

Information Services. Essential Access Exercises. IT

Information Services. Essential Access Exercises. IT Information Services Essential Access Exercises IT www.york.ac.uk/it-services/training Essential Access Tasks Exercises to accompany Essential Access Course Books 1 & 2 Sample files for use with these

More information

SUMMER EXAMINATIONS 2014

SUMMER EXAMINATIONS 2014 SUMMER EXAMINATIONS 2014 MODULE TITLE LEVEL TIME ALLOWED Database Architecture Four Two hours Instructions to students: Enter your student number not your name on all answer booklets. The exam is split

More information

پوهنتون کابل پوهنحی كمپيوترساینس پوهنیار محمد شعیب "زرین خیل"

پوهنتون کابل پوهنحی كمپيوترساینس پوهنیار محمد شعیب زرین خیل پوهنتون کابل پوهنحی كمپيوترساینس : : تهیه کننده سال پوهنیار محمد شعیب "زرین خیل" 1389 Introduction to Database and Data Models - Relational Model 08 By: M Shuaib Zarinkhail 2010 Referential Integrity Constraint

More information

ER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1

ER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1 ER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1 ER Diagram ID-Dependent and Weak Entities Ray Lockwood Points: An ID-dependent entity is an entity whose identifier (key) includes the identifier

More information

Discussion Focus. Figure 1

Discussion Focus. Figure 1 Discussion Focus Efficient data management typically requires the use of computer database. A database is a shared, integrated computer structure that stores a collection of: End-user data that is the

More information

CS 377 Database Systems

CS 377 Database Systems CS 377 Database Systems Relational Data Model Li Xiong Department of Mathematics and Computer Science Emory University 1 Outline Relational Model Concepts Relational Model Constraints Relational Database

More information

Add/Drop Deadlines and Procedures. Fall 2017

Add/Drop Deadlines and Procedures. Fall 2017 Add/Drop Deadlines and Procedures Fall 2017 1 TABLE OF CONTENTS When Can Students Amend Their Fall Schedule? Fall Add/Drop Timeline Page 3 Frequently Asked Questions Page 4 How Do Students Sign In to the

More information

Part 5: Introduction to Logical Design

Part 5: Introduction to Logical Design 5. Introduction to Logical Design 5-1 Part 5: Introduction to Logical Design References: Elmasri/Navathe:Fundamentals of Database Systems, 3rd Edition, 1999. Chapter 3, Data Modeling Using the Entity-Relationship

More information

The Relational Model Constraints and SQL DDL

The Relational Model Constraints and SQL DDL The Relational Model Constraints and SQL DDL Week 2-3 Weeks 2-3 MIE253-Consens 1 Schedule Week Date Lecture Topic 1 Jan 9 Introduction to Data Management 2 Jan 16 The Relational Model 3 Jan. 23 Constraints

More information

More on the Chen Notation

More on the Chen Notation More on the Chen Notation Reference: http://www.vertabelo.com/blog/technical-articles/chen-erd-notation Peter Chen, who developed entity-relationship modeling and published his work in 1976, was one of

More information

Conceptual Modeling in ER and UML

Conceptual Modeling in ER and UML Courses B0B36DBS, A7B36DBS: Database Systems Practical Classes 01 and 02: Conceptual Modeling in ER and UML Martin Svoboda 21. and 28. 2. 2017 Faculty of Electrical Engineering, Czech Technical University

More information

Introduction to Databases

Introduction to Databases Introduction to Databases Abou Bakar Kaleem 1 Overview - Database - Relational Databases - Introduction to SQL Introduction to Databases 2 1 Database (1) Database : - is a collection of related data -

More information

Entity-Relationship Modelling. Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables

Entity-Relationship Modelling. Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables Entity-Relationship Modelling Entities Attributes Relationships Mapping Cardinality Keys Reduction of an E-R Diagram to Tables 1 Entity Sets A enterprise can be modeled as a collection of: entities, and

More information

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 IS220 : Database Fundamentals College of Computer and Information Sciences - Information Systems Dept. Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 Ref. Chapter6 Prepared by L.

More information

SWEN-220 Mathematical Models of Software. Conceptual to Relational Mapping

SWEN-220 Mathematical Models of Software. Conceptual to Relational Mapping SWEN-220 Mathematical Models of Software Conceptual to Relational Mapping 1 Relational (Logical) Design Logical design is where a conceptual design is mapped to a relational schema. Entry = Conceptual

More information

ACS-3902 Fall Ron McFadyen 3D21 Slides are based on chapter 5 (7 th edition) (chapter 3 in 6 th edition)

ACS-3902 Fall Ron McFadyen 3D21 Slides are based on chapter 5 (7 th edition) (chapter 3 in 6 th edition) ACS-3902 Fall 2016 Ron McFadyen 3D21 ron.mcfadyen@acs.uwinnipeg.ca Slides are based on chapter 5 (7 th edition) (chapter 3 in 6 th edition) 1 The Relational Data Model and Relational Database Constraints

More information

DATABASE SYSTEMS. Chapter 5 Entity Relationship (ER) Modelling DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT

DATABASE SYSTEMS. Chapter 5 Entity Relationship (ER) Modelling DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT DATABASE SYSTEMS DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT Chapter 5 Entity Relationship (ER) Modelling 1 Coronel & Crockett 978184480731) In this chapter, you will

More information

CSC 742 Database Management Systems

CSC 742 Database Management Systems CSC 742 Database Management Systems Topic #5: Relational Model Spring 2002 CSC 742: DBMS by Dr. Peng Ning 1 Motivation A relation is a mathematical abstraction for a table The theory of relations provides

More information

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2

Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 Lecture7: SQL Overview, Oracle Data Type, DDL and Constraints Part #2 Ref. Chapter6 Prepared by L. Nouf Almujally & Aisha AlArfaj& L.Fatima Alhayan Colleg Comp Informa Scien Informa Syst D 1 IS220 : Database

More information

MIS2502: Data Analytics Relational Data Modeling - 1. JaeHwuen Jung

MIS2502: Data Analytics Relational Data Modeling - 1. JaeHwuen Jung MIS2502: Data Analytics Relational Data Modeling - 1 JaeHwuen Jung jaejung@temple.edu http://community.mis.temple.edu/jaejung Where we are Now we re here Data entry Transactional Database Data extraction

More information

Introduction to Database Management Systems

Introduction to Database Management Systems Relational Data Model Relational Data Model 1 o Relations o Attributes o Tuples o Relations o Primary Keys o Objectives o Comparison to other models o Components o Relation Properties o Kinds of Relations

More information

Database Logical Design

Database Logical Design Database Logical Design CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 1 Overview Relational model is a logical model Based on mathematical theories and rules Two ways to design a relational

More information

THE RELATIONAL DATABASE MODEL

THE RELATIONAL DATABASE MODEL THE RELATIONAL DATABASE MODEL Introduction to relational DB Basic Objects of relational model Properties of relation Representation of ER model to relation Keys Relational Integrity Rules Functional Dependencies

More information

Graduate Certificate in Business Information Systems

Graduate Certificate in Business Information Systems Graduate Certificate in Business Information Systems 2016 Assessment Report April 1, 2017 1. Student Learning Goals Addressed This Year a. Goal 1: Apply technical competencies in business applications

More information

Entity Relationship Diagram (ERD) Dr. Moustafa Elazhary

Entity Relationship Diagram (ERD) Dr. Moustafa Elazhary Entity Relationship Diagram (ERD) Dr. Moustafa Elazhary Data Modeling Data modeling is a very vital as it is like creating a blueprint to build a house before the actual building takes place. It is built

More information

Entity Relationship Diagram (ERD): Basics

Entity Relationship Diagram (ERD): Basics Entity Relationship Diagram (ERD): Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 Overview: 3 Level Database Design Creating an Entity Relationship Diagram (ERD) and associated data dictionary

More information

Database Design and Administration for OnBase WorkView Solutions. Mike Martel Senior Project Manager

Database Design and Administration for OnBase WorkView Solutions. Mike Martel Senior Project Manager Database Design and Administration for OnBase WorkView Solutions Mike Martel Senior Project Manager 1. Solution Design vs. Database Design Agenda 2. Data Modeling/Design Concepts 3. ERD Diagramming Labs

More information

IS 263 Database Concepts

IS 263 Database Concepts IS 263 Database Concepts Lecture 1: Database Design Instructor: Henry Kalisti 1 Department of Computer Science and Engineering The Entity-Relationship Model? 2 Introduction to Data Modeling Semantic data

More information

Chapter 5. Relational Model Concepts 5/2/2008. Chapter Outline. Relational Database Constraints

Chapter 5. Relational Model Concepts 5/2/2008. Chapter Outline. Relational Database Constraints Chapter 5 The Relational Data Model and Relational Database Constraints Copyright 2004 Pearson Education, Inc. Chapter Outline Relational Model Concepts Relational Model Constraints and Relational Database

More information

Database Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra

Database Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra Database Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra Relational Data Model and Relational Constraints Part 1 A simplified diagram to illustrate the main

More information

The Basic (Flat) Relational Model. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

The Basic (Flat) Relational Model. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley The Basic (Flat) Relational Model Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 Outline The Relational Data Model and Relational Database Constraints Relational

More information

Chapter 5. Relational Model Concepts 9/4/2012. Chapter Outline. The Relational Data Model and Relational Database Constraints

Chapter 5. Relational Model Concepts 9/4/2012. Chapter Outline. The Relational Data Model and Relational Database Constraints Chapter 5 The Relational Data Model and Relational Database Constraints Copyright 2004 Pearson Education, Inc. Chapter Outline Relational Model Constraints and Relational Database Schemas Update Operations

More information

MIS2502: Data Analytics Relational Data Modeling. Jing Gong

MIS2502: Data Analytics Relational Data Modeling. Jing Gong MIS2502: Data Analytics Relational Data Modeling Jing Gong gong@temple.edu http://community.mis.temple.edu/gong Where we are Now we re here Data entry Transactional Database Data extraction Analytical

More information

Database Logical Design

Database Logical Design Database Logical Design IT 5101 Introduction to Database Systems J.G. Zheng Fall 2011 Overview Relational model is a logical model Based on mathematical theories and rules Two ways to design a relational

More information

Chapter # 4 Entity Relationship (ER) Modeling

Chapter # 4 Entity Relationship (ER) Modeling Chapter # 4 Entity Relationship (ER) Modeling Entity Relationship (ER) Modeling ER model forms the basis of an ER diagram ERD represents conceptual database as viewed by end user ERDs depict database s

More information

Enhanced Entity- Relationship Models (EER)

Enhanced Entity- Relationship Models (EER) Enhanced Entity- Relationship Models (EER) LECTURE 3 Dr. Philipp Leitner philipp.leitner@chalmers.se @xleitix LECTURE 3 Covers Small part of Chapter 3 Chapter 4 Please read this up until next lecture!

More information

The Relational Model. Week 2

The Relational Model. Week 2 The Relational Model Week 2 1 Relations A relation is a more concrete construction, of something we have seen before, the ER diagram. name S.S.N students street city A relation is (just!) a table! We will

More information

LECTURE 3: ENTITY-RELATIONSHIP MODELING

LECTURE 3: ENTITY-RELATIONSHIP MODELING LECTURE 3: ENTITY-RELATIONSHIP MODELING Ref. Chapter11 + Appendix F from Database Systems: A Practical Approach to Design, Implementation and Management. Thomas Connolly, Carolyn Begg. 1 IS220 : D a t

More information

Please Excuse My Dear Aunt Sally

Please Excuse My Dear Aunt Sally Instructional strategies - math Math Hierarchy - Order of Operations PEMDAS P E M/D A/S Parenthesis first Exponents, square roots Multiplication and Division (left to right) Addition and Subtraction (left

More information

course 3 Levels of Database Design CSCI 403 Database Management Mines Courses ERD Attributes Entities title 9/26/2018

course 3 Levels of Database Design CSCI 403 Database Management Mines Courses ERD Attributes Entities title 9/26/2018 3 Levels of Database Design CSCI 403 Database Management 13 Database Modeling with Entity-Relationship Diagrams Conceptual (this lecture) Understand data entities & relationships between them Communication

More information

1/24/2012. Chapter 7 Outline. Chapter 7 Outline (cont d.) CS 440: Database Management Systems

1/24/2012. Chapter 7 Outline. Chapter 7 Outline (cont d.) CS 440: Database Management Systems CS 440: Database Management Systems Chapter 7 Outline Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys Relationship

More information

Ch 9: Mapping EER to Relational. Follow a seven-step algorithm to convert the basic ER model constructs into relations steps 1-7

Ch 9: Mapping EER to Relational. Follow a seven-step algorithm to convert the basic ER model constructs into relations steps 1-7 Ch 9: Mapping EER to Relational Follow a seven-step algorithm to convert the basic ER model constructs into relations steps 1-7 Additional steps for EER model for specialization/generalization steps 8a

More information

Relational model continued. Understanding how to use the relational model. Summary of board example: with Copies as weak entity

Relational model continued. Understanding how to use the relational model. Summary of board example: with Copies as weak entity COS 597A: Principles of Database and Information Systems Relational model continued Understanding how to use the relational model 1 with as weak entity folded into folded into branches: (br_, librarian,

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The

More information

namib I A U n IVERS I TY

namib I A U n IVERS I TY namib I A U n IVERS I TY OF SCIEnCE AnD TECH n 0 LOGY FACULTY OF COMPUTING AND INFORMATICS DEPARTMENT OF COMPUTER SCIENCE QUALIFICATION: BACHELOR OF COMPUTER SCIENCE QUALIFICATION CODE: 07BACS LEVEL: 5

More information

The Relational Data Model (ALL the Vocabulary)

The Relational Data Model (ALL the Vocabulary) (ALL the Vocabulary) Lecture 2 1 A Quick Reminder One of the key features of a DBMS is use of data models to support data independence The conceptual representation is independent of underlying storage

More information

Orange Coast College BUSINESS & COMPUTING DIVISION EVENING, WEEKEND & ONLINE COURSES. that fit your schedule and goals!

Orange Coast College BUSINESS & COMPUTING DIVISION EVENING, WEEKEND & ONLINE COURSES. that fit your schedule and goals! Orange Coast College BUSINESS & COMPUTING DIVISION EVENING, WEEKEND & ONLINE COURSES that fit your schedule and goals! FALL 2018 term begins August 27, 2018 8 and 16 week courses are available ACCOUNTING

More information

COURSE OUTLINE. School of Engineering Technology and Applied Science

COURSE OUTLINE. School of Engineering Technology and Applied Science COURSE OUTLINE SCHOOL: School of Engineering Technology and Applied Science DEPARTMENT: PROGRAM: COURSE TITLE: Information and Communication Engineering Technology (ICET) Computer and Communication Networking

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 8 Data Modeling Advanced Concepts

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 8 Data Modeling Advanced Concepts Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 8 Data Modeling Advanced Concepts Objectives In this chapter, students will learn: About the extended entity

More information

Logical Database Design. ICT285 Databases: Topic 06

Logical Database Design. ICT285 Databases: Topic 06 Logical Database Design ICT285 Databases: Topic 06 1. What is Logical Database Design? Why bother? Bad logical database design results in bad physical database design, and generally results in poor database

More information

Data, Databases, and DBMSs

Data, Databases, and DBMSs Todd S. Bacastow January 2004 IST 210 Data, Databases, and DBMSs 1 Evolution Ways of storing data Files ancient times (1960) Databases Hierarchical (1970) Network (1970) Relational (1980) Object (1990)

More information

Relational Model. IT 5101 Introduction to Database Systems. J.G. Zheng Fall 2011

Relational Model. IT 5101 Introduction to Database Systems. J.G. Zheng Fall 2011 Relational Model IT 5101 Introduction to Database Systems J.G. Zheng Fall 2011 Overview What is the relational model? What are the most important practical elements of the relational model? 2 Introduction

More information

The Entity-Relationship Model (ER Model) - Part 2

The Entity-Relationship Model (ER Model) - Part 2 Lecture 4 The Entity-Relationship Model (ER Model) - Part 2 By Michael Hahsler Based on slides for CS145 Introduction to Databases (Stanford) Lecture 4 > Section 2 What you will learn about in this section

More information

Web CRM Project. Logical Data Model

Web CRM Project. Logical Data Model Web CRM Project Logical Data Model Prepared by Rainer Schoenrank Data Warehouse Architect The Data Organization 11 December 2007 DRAFT 4/26/2018 Page 1 TABLE OF CONTENTS 1. CHANGE LOG... 5 2. DOCUMENT

More information

Texas A&M University - Commerce Department of Marketing and Business Analytics Comprehensive Exam Procedures

Texas A&M University - Commerce Department of Marketing and Business Analytics Comprehensive Exam Procedures Texas A&M University - Commerce Department of Marketing and Business Analytics Comprehensive Exam Procedures In order to earn a Masters of Science in Marketing or a Masters of Science in Business Analytics,

More information

LAB 2 Notes. Conceptual Design ER. Logical DB Design (relational) Schema Refinement. Physical DD

LAB 2 Notes. Conceptual Design ER. Logical DB Design (relational) Schema Refinement. Physical DD LAB 2 Notes For students that were not present in the first lab TA Web page updated : http://www.cs.ucr.edu/~cs166/ Mailing list Signup: http://www.cs.ucr.edu/mailman/listinfo/cs166 The general idea of

More information

CPM Certification Examination

CPM Certification Examination CPM Certification Examination Preparation and Registration Information REAL ESTATE INSTITUTE of CANADA Institut canadien de l immeuble 5407 Eglinton Avenue West, Suite 208 Toronto ON M9C 5K6 Introduction

More information

Week Two Entity Relationship Diagram. Marlon R. Evans DBM/502 3/27/17. Mark Paxton

Week Two Entity Relationship Diagram. Marlon R. Evans DBM/502 3/27/17. Mark Paxton Week Two Entity Relationship Diagram Marlon R. Evans DBM/502 3/27/17 Mark Paxton File Name: Evans WK2 - E-R Diagram.doc Microsoft Word Statistics for your paper: Total Number of Pages Found in Full Document

More information

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1 CS 4604: Introduction to Database Management Systems B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1 E/R: NOT IN BOOK! IMPORTANT: Follow only lecture slides for this topic! Differences

More information

Database Design. 6-2 Normalization and First Normal Form. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Design. 6-2 Normalization and First Normal Form. Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Design 6-2 Objectives This lesson covers the following objectives: Define the purpose of normalization in database models Define the rule of First Normal Form in the normalization process Determine

More information

COURSE OUTLINE. IST 253 Database Concept 3 Course Number Course Title Credits

COURSE OUTLINE. IST 253 Database Concept 3 Course Number Course Title Credits COURSE OUTLINE IST 253 Database Concept 3 Course Number Course Title Credits 2 2 N/A N/A 15 Class or Laboratory Clinical or Studio Practicum, Course Length Lecture Work Hours Hours Co-op, Internship (15

More information

Requesting a Recurring Meeting

Requesting a Recurring Meeting Step 1: Navigating to Ad Astra Requesting a Recurring Meeting Go to www.indiantech.edu. In the upper right hand corner of the web page is a My Accounts button. Click this and then click Room Scheduling.

More information

Course on Database Design Carlo Batini University of Milano Bicocca, Italy

Course on Database Design Carlo Batini University of Milano Bicocca, Italy Course on Database Design Carlo Batini University of Milano Bicocca, Italy 1 Course on Database Design The course is made of six parts: Part 0 What you will learn in this course Part 1 Introduction to

More information

CSCO 220 CCNA Scaling Networks Spring 2018

CSCO 220 CCNA Scaling Networks Spring 2018 CSCO 220 CCNA Scaling Networks Spring 2018 Instructor: Joseph Cheung Email: joseph.cheung@gbcnv.edu Phone: 775-753-2307 Office: HTC 132 Office Hours: Fri. and Saturday, 4:00 8:00 pm, Monday and Tuesday.

More information

Databases. Practice #3 - Oracle SQLPLUS

Databases. Practice #3 - Oracle SQLPLUS Databases Practice #3 - Oracle SQLPLUS This practice comprises two parts. Part I proposes some more queries on an existing database, to be solved using the SQL language. In Part II, you are requested to

More information

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?

More information

Page 1 of 7. First tutorial: Second tutorial:

Page 1 of 7. First tutorial: Second tutorial: Page 1 of 7 First tutorial: Go over the requirements for A3 Second tutorial: Resource link (also available on the course web page see lecture topic section) https://support.office.com/en-us/article/design-and-build-tables-for-a-database-

More information

MIS2502: Data Analytics Relational Data Modeling. Jing Gong

MIS2502: Data Analytics Relational Data Modeling. Jing Gong MIS2502: Data Analytics Relational Data Modeling Jing Gong gong@temple.edu http://community.mis.temple.edu/gong Where we are Now we re here Data entry Transactional Database Data extraction Analytical

More information

Week5: First Tutorial

Week5: First Tutorial Week5: First Tutorial Validation rules: Error handling after the fact What You Should Know: Error Prevention The mechanism for doing this are Input Masks Input masks vs. Validation rules Timing: input

More information

The appendix contains information about the Classic Models database. Place your answers on the examination paper and any additional paper used.

The appendix contains information about the Classic Models database. Place your answers on the examination paper and any additional paper used. Name: Student Number: Instructions: Do all 9 questions. There is a total of 87 marks. The appendix contains information about the Classic Models database. Place your answers on the examination paper and

More information

2005 University of California Undergraduate Experience Survey

2005 University of California Undergraduate Experience Survey 2005 University of California Undergraduate Experience Survey This year's survey has three parts: I. Time use and overall satisfaction II. Your background III. Rotating modules PART I: TIME USE and OVERALL

More information

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute Logical database design and the relational model Objectives of logical design... Translate the conceptual design into a logical database design that can be implemented on a chosen DBMS Input: conceptual

More information

Dealing with Data Especially Big Data

Dealing with Data Especially Big Data Dealing with Data Especially Big Data INFO-GB-2346.01 Fall 2017 Professor Norman White nwhite@stern.nyu.edu normwhite@twitter Teaching Assistant: Frenil Sanghavi fps241@stern.nyu.edu Administrative Assistant:

More information

Modeling with UML. (1) Use Case Diagram. (2) Class Diagram. (3) Interaction Diagram. (4) State Diagram

Modeling with UML. (1) Use Case Diagram. (2) Class Diagram. (3) Interaction Diagram. (4) State Diagram Modeling with UML A language or notation intended for analyzing, describing and documenting all aspects of the object-oriented software system. UML uses graphical notations to express the design of software

More information

Database Design and Management - BADM 352 Fall 2009 Syllabus and Schedule

Database Design and Management - BADM 352 Fall 2009 Syllabus and Schedule Database Design and Management - BADM 352 Fall 2009 Syllabus and Schedule Instructor: Vishal Sachdev Office Location: # 7 Wohlers Hall E-mail : Use Compass e-mail for communication, vishal@illinois.edu

More information

Conceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling

Conceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling COSC 304 Introduction to Database Systems Entity-Relationship Modeling Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Conceptual Database Design Conceptual database design

More information

Database Setup - Local

Database Setup - Local @author R.L. Martinez, Ph.D. Table of Contents Overview... 1 Code Review... 2 Engine Types... 4 Inserting Data... 5 Relation Types... 5 PKs, FK, and Referential Integrity... 7 Entity Relationship Diagrams

More information

JOHNSON COUNTY COMMUNITY COLLEGE COURSE SYLLABUS WEB CRN Web Scripting: JavaScript I

JOHNSON COUNTY COMMUNITY COLLEGE COURSE SYLLABUS WEB CRN Web Scripting: JavaScript I JOHNSON COUNTY COMMUNITY COLLEGE COURSE SYLLABUS WEB 114-002 CRN 12234 Web Scripting: JavaScript I TERM: Spring 2017 DIVISION: Computing Sciences & Information Technology CREDITS: 2 Pre/Corequisite: WEB

More information

Chapter 4 Conceptual Modeling

Chapter 4 Conceptual Modeling Chapter 4 Conceptual Modeling We got a clear picture of the structure of an RDB from last chapter. The question is how could we get there from a project description? For example, assume that we have understood

More information

A: 90% - 100% B: 80% - <90% C: 70% - <80% D: 60% - <70% F: < 60% Important Dates:

A: 90% - 100% B: 80% - <90% C: 70% - <80% D: 60% - <70% F: < 60% Important Dates: Department of Electronics Engineering Technology Division of Architecture, Engineering, & Technology West Campus Building 9, Room 140 (407) 582-1902/1903 http://www.valenciacollege.edu/west/engineering/

More information

Representative Syllabus

Representative Syllabus PREPARING COMPETENT AND RESPONSIBLE BUSINESS LEADERS THE UNIVERSITY OF AKRON COLLEGE OF BUSINESS ADMINISTRATION DEPARTMENT OF FINANCE SYLLABUS Fall, 2012 CORPORATE FINANCIAL MANAGEMENT 6400:310 001 BCCE

More information

Chapter 5. The Relational Data Model and Relational Database Constraints. Slide 5-١. Copyright 2007 Ramez Elmasri and Shamkant B.

Chapter 5. The Relational Data Model and Relational Database Constraints. Slide 5-١. Copyright 2007 Ramez Elmasri and Shamkant B. Slide 5-١ Chapter 5 The Relational Data Model and Relational Database Constraints Chapter Outline Relational Model Concepts Relational Model Constraints and Relational Database Schemas Update Operations

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 5-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 5-1 Slide 5-1 Chapter 5 The Relational Data Model and Relational Database Constraints Chapter Outline Relational Model Concepts Relational Model Constraints and Relational Database Schemas Update Operations

More information

Homework #4 1. Suppose that each of the following Update operations is applied directly to the database state shown in Figure 5.6.

Homework #4 1. Suppose that each of the following Update operations is applied directly to the database state shown in Figure 5.6. Homework #4 1. Suppose that each of the following Update operations is applied directly to the database state shown in Figure 5.6. Discuss all integrity constraints violated by each operation, if any,

More information

DBMS. Relational Model. Module Title?

DBMS. Relational Model. Module Title? Relational Model Why Study the Relational Model? Most widely used model currently. DB2,, MySQL, Oracle, PostgreSQL, SQLServer, Note: some Legacy systems use older models e.g., IBM s IMS Object-oriented

More information