MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj InClass ER Examples.

Slides:



Advertisements
Similar presentations
Database Lecture Notes Mapping ER Diagrams to Tables 2 Dr. Meg Murray
Advertisements

Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
Entity Relationship (ER) Modeling
E/R Exercises – Part I April 16, 2017.
Basic Symbols.
System Analysis - Data Modeling
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.
Modeling Data The Entity Relationship Model (ER) For Database Design.
Entity-Relationship Model and Diagrams (continued)
WELL-DESIGNED DATABASES Process faster Easy to develop and maintain Easy to read and write code.
Information Resources Management January 30, 2001.
Entity-Relationship Diagrams
Systems Analysis and Design in a Changing World, 6th Edition
Entity PrimaryKey Attribute relationship Cardinality: zero to many Cardinality: one and only one Cardinality: one to many Explanation Entity Relationship.
The (min,max) notation (1,1) (0,1) (1,N) (1,1). SUMMARY OF ER-DIAGRAM NOTATION FOR ER SCHEMAS Meaning ENTITY TYPE WEAK ENTITY TYPE RELATIONSHIP TYPE IDENTIFYING.
Database Management COP4540, SCS, FIU Database Modeling Using the Entity-Relationship Model (Chapter 3)
CSCI 6442 Entity-Relation Data Modeling Copyright 2012, David C. Roberts, all rights reserved.
Entity-Relationship Design
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,
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
CONCEPTS OF E-R MODEL. CONTENTS Entity Attributes Data Value Entity Types Types of Entity Types Relationships Relationship Constraints.
Dr. Mohamed Osman Hegaz1 Conceptual data base design: The conceptual models: The Entity Relationship Model.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
G057 - Lecture 02 Introduction To Database System Concepts Mr C Johnston ICT Teacher
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 1 © Akhilesh Bajaj, 2000, 2002, 2003, 2004.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 4 Domain Classes.
Data Modeling IST210 Class Lecture.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 4 Mapping an ER model to tables © Akhilesh Bajaj,
MIS 7003 MIS Core Course The MBA Program The University of Tulsa Professor: Akhilesh Bajaj Introduction to Database Design All Slides in this presentation.
Initial Design of Entity Types for the COMPANY Database Schema Based on the requirements, we can identify four initial entity types in the COMPANY database:
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
COMP231 Tutorial 1 ER Model and ER to Relational Schema.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj RM/SQL Lecture 3 © Akhilesh Bajaj, 2000, 2002, All Rights.
1 CONCEPTUAL SCHEMA DESIGN PROCESS Information Processing and Technology, 2001 Yr 12 IPT.
1 The Entity- Relationship Model Instructor: Mohamed Eltabakh
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 2 © Akhilesh Bajaj, 2000, 2002, 2003, 2004,
Data Modeling and the Entity-Relationship Model CS 475 Lecture Notes.
Conversion from ER diagram to relational model 1 ER is a visual model The relational model is a matemathical model.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj ER Model Lecture 3 © Akhilesh Bajaj, 2000, 2002, All Rights.
DATA MODELING AND ENTITY-RELATIONSHIP MODEL II IST 210: Organization of Data IST210 1.
Entity/Relationship Modelling
Week 03 – ER Diagram INFOSYS 222.
Data Modeling Using the ERD
Let try to identify the conectivity of these entity relationship
Business System Development
Entity-Relationship Model
CSIS 115 Database Design and Applications for Business
COP5725 Database Management ER DIAGRAM AND RELATIONAL DATA MODEL
Case Studies: Data Modeling
Tables and Their Characteristics
Chapter 7 Entity-Relationship Model
Outline of the ER Model By S.Saha
Entity Relationship Diagrams
ERD Exercises.
The Entity-Relationship Model
Entity – Relationship Model
MIS2502: Data Analytics Relational Data Modeling
Database Modeling using Entity Relationship Model (E-R Model)
The University of Tulsa Professor: Akhilesh Bajaj
MIS2502: Data Analytics Relational Data Modeling
Chapter 7: Entity-Relationship Model
MIS2502: Data Analytics Relational Data Modeling 2
Entity Relation Model Tingting Zhang.
Database Management system
Database Management system
Some examples of simple business rules:
Presentation transcript:

MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj InClass ER Examples

Review of Lecture 1 Entities and entity sets Attributes (simple / composite, single valued / multivalued, null valued, derived) Relationships and relationship sets Attributes of relationship sets Degree of relationship sets Cardinality of relationship sets

Goals Today Review concepts we did in the previous class Practice Some Examples

Draw an ER Diagram Source: practice-question.pdfhttp:// practice-question.pdf

Draw an ER Diagram City Cameras is an independent retailer of cameras, video-cameras and accessories. The owner fulfils the roles of shopkeeper and manager and he purchases a variety of products from a number of different suppliers. The owner can check on different suppliers wholesale and recommended retail prices with reference to their price lists, as shown. During a normal day several customers will enter the shop and a number of them will buy one or more of the products on sale. At some stage the owner may decide that one or more product lines need to be re- ordered, following a visual stock-take. He will then consult the latest suppliers price lists to see who is offering the best deals on given product lines. Following this, he will ring one or more of the suppliers to order some of their products. At the same time he will also make a written record of the orders that have been placed with each supplier on a separate sheet of paper. These records are then used to verify incoming orders and invoicing details. Source:

Write an English Description Source:

ER Model Example University Schema: Objects: Courses, Course sections, Professors, Students (graduate and undergraduate), Classrooms, buildings Example course numbers: MIS3053, MIS4233, MIS3023. Example course section identifiers: MIS3053Fall2008A, MIS4233Fall2008A Example StudentID: Example FacultyID: Example BuildingID: HELM, OLIP Example classroom ID: HELM316 Events: A student takes a course section and gets a grade, a professor teaches a course section and gets a rating for that course section, a graduate student may TA a Course section, and also get a rating for it. Example grade: ‘A’ Example Professor rating: “Excellent’ Example GA rating: ‘Excellent’ Let us write an ER diagram for this description