Entity Relationship Diagram (ERD) Dr. Moustafa Elazhary
|
|
- Tracy Ferguson
- 5 years ago
- Views:
Transcription
1 Entity Relationship Diagram (ERD) Dr. Moustafa Elazhary
2 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 in a phases with several iterations of validation to ensure that the structure and content of the model meets the business requirements WS 2018/2019 Information Systems - Entity Relationship Diagram 2
3 Database design Conceptual design Logical design Physical design WS 2018/2019 Information Systems - Entity Relationship Diagram 3
4 Conceptual data models These models are typically used to identify and document business concepts with project stakeholders. Conceptual data models are often created as the precursor or as alternatives to Logical Data Models (LDMs). The conceptual data model includes the main concepts and the main relationships among them. It delivers an ERD and associated data dictionary Customer Lives at Address John Doe Jane Doe 4 Leopold street 3 Leopold street WS 2018/2019 Information Systems - Entity Relationship Diagram 4
5 Data dictionary master customers WS 2018/2019 Information Systems - DB - Master 5
6 Logical data models They are used to explore the domain concepts, and their relationships and relationship cardinalities. They are outlined independently of a particular or storage technology but in terms of data structures such as relational tables. The logical data model transforms ERD to relational model such as tables, keys, etc. Customer Address Customer ID First name Last name Mobile Street City Zip Country WS 2018/2019 Information Systems - Entity Relationship Diagram 6
7 Data dictionary master customers WS 2018/2019 Information Systems - DB - Master 7
8 Physical data models They are used to design the internal schema of a database, documenting: The data tables (derived from the logical data entities) The data columns of those tables (derived from the entity attributes), The relationships between the tables derived from the entity relationships). The physical data model delivers the database and other supporting structures DBMS Database schema describes the details of the database, which can be represented by schema diagrams. A database schema defines its entities and the relationship among them. WS 2018/2019 Information Systems - Entity Relationship Diagram 8
9 Physical data models schema Source: WS 2018/2019 Information Systems - Entity Relationship Diagram 9
10 Physical data models view A database view is an object that can be searched in a database that is defined by a query. A view doesn t store data and sometimes called virtual tables,. It can combine data from two or more table, and it can also contain only a subset of information. WS 2018/2019 Information Systems - Entity Relationship Diagram 10
11 Chen ERD Attribute Attribute Attribute Attribute Entity Relationship Entity WS 2018/2019 Information Systems - Entity Relationship Diagram 11
12 Data entity A term used in logical data models to describe a class of persons, places, things, or events of interest to the business. The corresponding physical data model generally implements the entity in a database table or view. Entity class (entity set) is a structural description of things that share common attributes Entity instance is the occurrence of a particular entity Noun customers, items, orders Identifier Identifies an entity instance The value of the identifier attribute is unique for each entity instance Customer Item Student WS 2018/2019 Information Systems - Entity Relationship Diagram 12
13 Data attribute A term used in logical data models to describe a kind of fact common to all or most instances of an entity. Student ID is an attribute of the entity Student. The corresponding physical data model generally implements the attribute as a database column or field. It describes an entity class Customer name, address Item price, stock Order date, quantity All entity instances of a given entity class have the same attributes, but vary in the values of those attributes Name Student Student ID Identifier (underlined) Birthdate WS 2018/2019 Information Systems - Entity Relationship Diagram 13
14 Relationship It describes how entities are related A relationship is a named connection or association between entities. Each relationship is drawn as a line connecting the two entity types; Each relationship is given a name that indicates what information it imparts (relationships are named in both directions); Verb Relationship features Cardinality Entity instance s participation count Degree of relationship How many entities are involved in a relationship? Entity Relationship Entity WS 2018/2019 Information Systems - Entity Relationship Diagram 14
15 Chen ERD WS 2018/2019 Information Systems - Entity Relationship Diagram 15
16 Cardinality Cardinality is the number of instances of an entity from a relation that can be associated with the relation. One to one One to many Many to many WS 2018/2019 Information Systems - Entity Relationship Diagram 16
17 Cardinality One-to-One When only one instance of entity is associated with the relationship, it is marked as '1'. This image below shows that only 1 instance of each entity should be associated with the relationship. It indicates one-to-one relationship Entity Noun 1 Relationship 1 Verb Entity Noun Student 1 1 has Contact Info WS 2018/2019 Information Systems - Entity Relationship Diagram 17
18 Cardinality One-to-Many When more than one instance of entity is associated with the relationship, it is marked as 'N or M. The image below shows that only 1 instance of entity on the left and more than one instance of entity on the right can be associated with the relationship. It indicates one-to-many relationship Entity 1 M Entity Customer 1 M Places Orders WS 2018/2019 Information Systems - Entity Relationship Diagram 18
19 Cardinality Many-to-Many The image below shows that more than one instance of entity on the left and more than one instance of entity on the right can be associated with the relationship. It indicates many-to-many relationship Books-Authors, Students-Courses, Items-Suppliers Relational database systems usually don't allow you to implement a direct many-to-many relationship between two tables. Entity M M Entity Items M have M Suppliers WS 2018/2019 Information Systems - Entity Relationship Diagram 19
20 Referential integrity It refers to rules governing data consistency, specifically the interaction between primary keys and foreign keys in different tables. It dictates what happens when you update or delete a value in a referenced column in the parent table and when you delete a row containing a referenced column from the parent table. Consistency means that any data written to the database must be valid according to all defined rules If a transaction is executed that violates the database's consistency rules, the entire transaction will be rolled back and the database will be restored to its original state. Database consistency doesn't mean that the transaction is correct, only that the transaction didn't break the rules defined by the program. WS 2018/2019 Information Systems - Entity Relationship Diagram 20
21 Exercise student-course You need to translate this scenario into an ERD. There are many students in the DEM program where every student is identified by a student ID and his/her name. Students are required to enroll in many courses by selecting the course ID. Each course has its name, assessment method and a specified date. Students are also required to read books in electronic and printed formats. WS 2018/2019 Information Systems - Entity Relationship Diagram 21
22 Exercise student-course-solution Every student has a unique identifier called student ID Every course has a unique identifier called course ID Every book has a unique identifier called book ID Entities attributes Student student ID, student name, DEM program Books book ID, electronic, printed Course course ID, course name, assessment method, date Relationships Students enroll in a course Students read books in electronic and printed formats WS 2018/2019 Information Systems - Entity Relationship Diagram 22
23 Exercise student-course-solution-erd Student ID Student name Enroll In M Student M Read M Course Course ID Assess method Course date Book ID Printed M Book Electronic WS 2018/2019 Information Systems - Entity Relationship Diagram 23
24 Exercise customer-order You need to translate this scenario into an ERD. Customers place their sales orders that can have multiple items. Customers have their ID, names and contact information while sales orders have their ID, date and items and item quantity. Items have their ID, and price. WS 2018/2019 Information Systems - Entity Relationship Diagram 24
25 Exercise customer-order-solution Every customer has a unique identifier called customer ID Every item has a unique identifier called item ID Every sales order has a unique identifier called sales order ID Entities attributes Customer customer ID, customer name, contact information Sales order sales order ID, customer ID, item ID, item quantity, date Items item ID, item name, item price Relationships Customer places orders Order contains items WS 2018/2019 Information Systems - Entity Relationship Diagram 25
26 Exercise customer-order-solution-erd Do-it-yourself DIY Please send the solution in PowerPoint format by WS 2018/2019 Information Systems - Entity Relationship Diagram 26
27 Data Modeling Basic Steps 1. Identify entity types 2. Identify Attributes 3. Establish Data Naming Conventions 4. Identify Relationships 5. Assign Keys 6. Normalize Data 7. Optimize Performance WS 2018/2019 Information Systems - Entity Relationship Diagram 27
28 Identify entity types An entity type represents a collection of similar objects such as people, places, things, events, or concepts. Examples of entities in an order entry system would include Customer, Address, Order, Item, and Tax. Customer and order are clearly two different concepts; therefore it makes sense to model them as separate entities. WS 2018/2019 Information Systems - Entity Relationship Diagram 28
29 Identify Attributes Each entity type will have one or more data attributes. For example, the Customer entity has attributes such as First Name and Last Name and the tbl_customer table has corresponding data columns cust_first_name and cust_last_name (a column is the implementation of a data attribute within a relational database). Getting the level of detail right can have a significant impact on your development and maintenance efforts. WS 2018/2019 Information Systems - Entity Relationship Diagram 29
30 Establish Data Naming Conventions Standards and guidelines applicable to data modeling should be set and enforced which is usually the responsibility of a data administrator. These guidelines should include naming conventions for both logical and physical modeling, the logical naming conventions should be focused on human readability whereas the physical naming conventions will reflect technical considerations. The basic idea is that developers should agree to and follow a common set of modeling standards on a software project. WS 2018/2019 Information Systems - Entity Relationship Diagram 30
31 Identify Relationships Entities have relationships with other entities. For example, customers PLACE orders, customers LIVE AT addresses, and items ARE PART OF orders. Place, live at, and are part of are all terms that define relationships between entities. The relationships between entities are conceptually identical to the relationships (associations) between objects. WS 2018/2019 Information Systems - Entity Relationship Diagram 31
32 Assign Keys A key is one or more data attributes that uniquely identify an entity. A key that consists of two or more attributes is called a composite key (each key attribute itself is not unique). In a physical database, a key would be formed of one or more table columns whose value(s) uniquely identify a row within a relational table. Composite key WS 2018/2019 Information Systems - Entity Relationship Diagram 32
33 Normalize Data Normalization is restructuring a relational database to reduce data redundancy and improve data integrity. In other words, it is a process used to organize a database into tables and columns and the table should be about a specific topic and then only those columns which support that topic are included.. The goal is to reduce, and even eliminate, data redundancy. Data redundancy is when some data fields are repeated either in two or more tables or if the field is repeated within the table. Data redundancy can lead to: Unneeded increase in database size Data inconsistency Decreased efficiency WS 2018/2019 Information Systems - Entity Relationship Diagram 33
34 Optimize Performance Database optimization involves maximizing the speed and efficiency with which data is retrieved. Normalized data schemas, when put into production, may suffer from performance problems. This makes sense the rules of data normalization focus on reducing data redundancy, not on improving performance of data access. It may be necessary to denormalize portions of your data schema to improve database access efficiency. It should be documented why changes were made to the model. WS 2018/2019 Information Systems - Entity Relationship Diagram 34
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 informationEntity-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 informationMIS2502: 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 informationData Modeling with the Entity Relationship Model. CS157A Chris Pollett Sept. 7, 2005.
Data Modeling with the Entity Relationship Model CS157A Chris Pollett Sept. 7, 2005. Outline Conceptual Data Models and Database Design An Example Application Entity Types, Sets, Attributes and Keys Relationship
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling Objectives In this chapter, students will learn: The main characteristics of entity relationship
More informationRelational Model (cont d) & Entity Relational Model. Lecture 2
Relational Model (cont d) & Entity Relational Model Lecture 2 Relational Database Operators Relational algebra Defines theoretical way of manipulating table contents using relational operators: SELECT
More informationDatabase 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 informationConceptual 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 informationMore 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 informationSystem Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar
1 System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar Overview DATABASE ARCHITECTURE 2 External level concerned with the way individual users see the
More informationChapter 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 informationNon-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52
Objectives Computer Science 202 Database Systems: Entity Relation Modelling To learn what a conceptual model is and what its purpose is. To learn the difference between internal models and external models.
More informationMIS2502: 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 informationFull file at
Modern Database Management, 10e (Hoffer/Ramesh/Topi) Chapter 2 Modeling Data in the Organization 1) Data modeling may be the most important part of the systems development process because: A) data characteristics
More informationChapter 4 Entity Relationship Modeling In this chapter, you will learn:
Chapter Entity Relationship Modeling In this chapter, you will learn: What a conceptual model is and what its purpose is The difference between internal and external models How internal and external models
More informationEntity 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 informationKing Fahd University of Petroleum and Minerals
Exam 1 March 16, 2008 Page 1 of 7 King Fahd University of Petroleum and Minerals Department of Information and Computer Science ICS 324: Database Systems Spring 2007-2008 Date: 16-March-2008 Major Exam
More informationData Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell
Data Analysis 1 Chapter 2.1 V3.1 Copyright @ Napier University Dr Gordon Russell Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is
More informationEntity Relationship Modelling
Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship? Entities, attributes, and relationships in a system The degree of
More informationCOSC 304 Introduction to Database Systems. 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 informationDatabase 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 informationRelated download: Instructor Manual for Modern Database Management 12th Edition by Hoffer Venkataraman Topi (Case studies included)
Modern Database Management Test Bank, 12e (Hoffer) Completed download: https://testbankarea.com/download/modern-database-management-12thedition-test-bank-hoffer-venkataraman-topi/ Related download: Instructor
More informationThe DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.
Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting
More informationIS 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 informationRelational 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 information0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart
More informationChapter 1 SQL and Data
Chapter 1 SQL and Data What is SQL? Structured Query Language An industry-standard language used to access & manipulate data stored in a relational database E. F. Codd, 1970 s IBM 2 What is Oracle? A relational
More informationLecture 5 STRUCTURED ANALYSIS. PB007 So(ware Engineering I Faculty of Informa:cs, Masaryk University Fall Bühnová, Sochor, Ráček
Lecture 5 STRUCTURED ANALYSIS PB007 So(ware Engineering I Faculty of Informa:cs, Masaryk University Fall 2015 1 Outline ² Yourdon Modern Structured Analysis (YMSA) Context diagram (CD) Data flow diagram
More informationEssentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization
Essentials of Database Management (Hoffer et al.) Chapter 2 Modeling Data in the Organization 1) The logical representation of an organization's data is called a(n): A) database model. B) entity-relationship
More informationFoundations of Business Intelligence: Databases and Information Management
Foundations of Business Intelligence: Databases and Information Management TOPIC 1: Foundations of Business Intelligence: Databases and Information Management TOPIC 1: Foundations of Business Intelligence:
More informationMIS2502: 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 informationFAQ: Relational Databases in Accounting Systems
Question 1: What is the definition of a schema as it relates to a database? What are the three levels? Answer 1: A schema describes the logical structure of a database. The three levels of schemas are
More informationA l Ain University Of Science and Technology
A l Ain University Of Science and Technology 4 Handout(4) Database Management Principles and Applications The Entity Relationship (ER) Model http://alainauh.webs.com/ 1 In this chapter, you will learn:
More informationChapter 2 Conceptual Modeling. Objectives
Chapter 2 Conceptual Modeling Basic Entity Relationship Diagrams 1 Objectives Definition of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes
More informationSystem Analysis & design
Assiut University Faculty of Computers and Information System Analysis & design Year 2 Academic Year 2014/ 2015 Term (2) Copyright 2014 Dr. Hossam Ragab 6 data model describes the data that flow through
More informationThe Entity Relationship Model
The Entity Relationship Model CPS352: Database Systems Simon Miner Gordon College Last Revised: 2/4/15 Agenda Check-in Introduction to Course Database Environment (db2) SQL Group Exercises The Entity Relationship
More informationIntroduction to Database. Dr Simon Jones Thanks to Mariam Mohaideen
Introduction to Database Dr Simon Jones simon.jones@nyumc.org Thanks to Mariam Mohaideen Today database theory Key learning outcome - is to understand data normalization Thursday, 19 November Introduction
More informationCS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010
CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring
More informationInformation Systems (Informationssysteme)
Information Systems (Informationssysteme) Jens Teubner, TU Dortmund jensteubner@cstu-dortmundde Summer 2018 c Jens Teubner Information Systems Summer 2018 1 Part IV Database Design c Jens Teubner Information
More informationDATABASE 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 informationConceptual Data Modeling Using E-R Models. PM Jat
Conceptual Data Modeling Using E-R Models PM Jat pm_jat@daiict.ac.in Data Model Data modeling is the most important task in database development completeness correctness performance of database depends
More informationCS403- 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 informationER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the
ER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the organization of data within databases or information systems.
More informationEntity Attribute STUDENT TABLE tuples single domain
Objectives Computer Science 202 Database Systems: Relational Database Model To learn the basic relational database components and concepts. To become familiar with the relational table's components and
More informationCourse on Database Design Carlo Batini University of Milano Bicocca Part 5 Logical Design
Course on Database Design Carlo atini University of Milano icocca Part 5 Logical Design 1 Carlo atini, 2015 This work is licensed under the Creative Commons Attribution NonCommercial NoDerivatives 4.0
More informationLogical 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 informationNormalization. VI. Normalization of Database Tables. Need for Normalization. Normalization Process. Review of Functional Dependence Concepts
VI. Normalization of Database Tables Normalization Evaluating and correcting relational schema designs to minimize data redundancies Reduces data anomalies Assigns attributes to tables based on functional
More informationTHE 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 informationThe Relational Model. Why Study the Relational Model? Relational Database: Definitions
The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in
More informationE-R Model. Hi! Here in this lecture we are going to discuss about the E-R Model.
E-R Model Hi! Here in this lecture we are going to discuss about the E-R Model. What is Entity-Relationship Model? The entity-relationship model is useful because, as we will soon see, it facilitates communication
More informationDistributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science
Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science 1 Distributed Database Systems Basic concepts and Definitions Data Collection of facts and figures concerning an object
More informationDatabase Foundations. 2-3 Conceptual Data Modeling. Copyright 2015, Oracle and/or its affiliates. All rights reserved.
Database Foundations 2-3 Roadmap You are here What Is a Table? Relational Databases Conceptual Data Modeling Data Modeling Terminology Unique Identifiers and Primary Keys Relationships and Foreign Keys
More informationCSE 880:Database Systems. ER Model and Relation Schemas
CSE 880:Database Systems ER Model and Relation Schemas 1 Major Steps for Database Design and Implementation 1. Requirements Collection and Analysis: Produces database requirements such as types of data,
More informationCOMP Instructor: Dimitris Papadias WWW page:
COMP 5311 Instructor: Dimitris Papadias WWW page: http://www.cse.ust.hk/~dimitris/5311/5311.html Textbook Database System Concepts, A. Silberschatz, H. Korth, and S. Sudarshan. Reference Database Management
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling 4.1 The Entity Relationship Model (ERM) ER model forms the basis of an ER diagram ERD
More informationData Management Lecture Outline 2 Part 2. Instructor: Trevor Nadeau
Data Management Lecture Outline 2 Part 2 Instructor: Trevor Nadeau Data Entities, Attributes, and Items Entity: Things we store information about. (i.e. persons, places, objects, events, etc.) Have relationships
More informationA l Ain University Of Science and Technology
A l Ain University Of Science and Technology 4 Handout(4) Database Management Principles and Applications The Entity Relationship (ER) Model http://alainauh.webs.com/ http://www.comp.nus.edu.sg/~lingt
More informationDatabase Applications (15-415)
Database Applications (15-415) The Entity Relationship Model Lecture 2, January 15, 2014 Mohammad Hammoud Today Last Session: Course overview and a brief introduction on databases and database systems
More informationRelational model. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)
Relational model Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) 2011-2016 Relational database model Data are represented as a mathematical relation (subset of cartesian product) of attribute domains
More informationEntity Relationships and Databases
Entity Relationships and Databases The following is excerpted from Chapter 6, Data Modeling, in Business Systems Analysis and Design by William S. Davis (1994, Belmont, CA: Wadsworth Publishing Company),
More informationStrategic Information Systems Systems Development Life Cycle. From Turban et al. (2004), Information Technology for Management.
Strategic Information Systems Systems Development Life Cycle Strategic Information System Any information system that changes the goals, processes, products, or environmental relationships to help an organization
More informationPart 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 informationData. Entities. Accounting Information Systems. Chapter 4: Data Management
Accounting Information Systems Chapter 4: Data Management Data Data may be defined broadly to include two interrelated components: Data Models that provide structure to data File Orientation Data-base
More informationMultiple-Choice. 3. When you want to see all of the awards, even those not yet granted to a student, replace JOIN in the following
Database Design, CSCI 340, Spring 2015 Final, May 12 Multiple-Choice 1. Which of the following is not part of the vocabulary of database keys? (3 pts.) a. Referential key b. Composite key c. Primary key
More informationHow to design a database
Chapter 16 How to design a database A database system is modeled after a real-word system 2017, Mike Murach & Associates, Inc. C 16, Slide 1 2017, Mike Murach & Associates, Inc. C 16, Slide 4 Objectives
More informationRepresent entities and relations with diagrams
LEARNING OBJECTIVES Define data modeling terms Describe E-R Model Identify entities and relations Represent entities and relations with diagrams WHAT IS DATA MODELING? A data model is a collection of concepts
More informationChapter 4: Data Management
Accounting Information Systems: Essential Concepts and Applications Fourth Edition by Wilkinson, Cerullo, Raval, and Wong-On-Wing Chapter 4: Data Management Slides Authored by Somnath Bhattacharya, Ph.D.
More informationDatabase Design. IIO30100 Tietokantojen suunnittelu. Michal Zabovsky. Presentation overview
Database Design IIO30100 Tietokantojen suunnittelu Michal Zabovsky Department of Informatics Faculty of Management Science and Informatics University of Zilina Slovak Republic Presentation overview Software
More informationRelational 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 informationData and Knowledge Management Dr. Rick Jerz
Data and Knowledge Management Dr. Rick Jerz 1 Goals Define big data and discuss its basic characteristics Understand ways to store information Understand the value of a Database Management System Explain
More informationDATA Data and information are used in our daily life. Each type of data has its own importance that contribute toward useful information.
INFORMATION SYSTEM LESSON 41 DATA, INFORMATION AND INFORMATION SYSTEM SMK Sultan Yahya Petra 1 DATA Data and information are used in our daily life. Each type of data has its own importance that contribute
More information1/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 informationQM Chapter 1 Database Fundamentals Version 10 th Ed. Prepared by Dr Kamel Rouibah / Dept QM & IS
QM 433 - Chapter 1 Database Fundamentals Version 10 th Ed Prepared by Dr Kamel Rouibah / Dept QM & IS www.cba.edu.kw/krouibah Dr K. Rouibah / dept QM & IS Chapter 1 (433) Database fundamentals 1 Objectives
More informationDatabase 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 informationDatabase Applications (15-415)
Database Applications (15-415) The Relational Model Lecture 3, January 18, 2015 Mohammad Hammoud Today Last Session: The entity relationship (ER) model Today s Session: ER model (Cont d): conceptual design
More informationDatabase Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015
Lecture 5 Database Systems Instructor: M.Imran Khalil Imrankhalil3@gmail.com Resource:Imrankhalil3.wordpress.com University of Sargodha Canal Campus Lahore Overview - important points Some introductory
More informationData and Knowledge Management. Goals. Big Data. Dr. Rick Jerz
Data and Knowledge Management Dr. Rick Jerz 1 Goals Define big data and discuss its basic characteristics Understand ways to store information Understand the value of a Database Management System Explain
More informationThe Relational Model
The Relational Model What is the Relational Model Relations Domain Constraints SQL Integrity Constraints Translating an ER diagram to the Relational Model and SQL Views A relational database consists
More informationChapter 11 Database Concepts
Chapter 11 Database Concepts INTRODUCTION Database is collection of interrelated data and database system is basically a computer based record keeping system. It contains the information about one particular
More informationBachelor in Information Technology (BIT) O Term-End Examination
No. of Printed Pages : 6 I CSI-14 I Bachelor in Information Technology (BIT) O Term-End Examination cn Cn1 June, 2010 CD cp CSI-14 : DATA ANALYSIS AND DATABASE DESIGN Time : 3 hours Maximum Marks : 75
More informationData Modeling. Yanlei Diao UMass Amherst. Slides Courtesy of R. Ramakrishnan and J. Gehrke
Data Modeling Yanlei Diao UMass Amherst Slides Courtesy of R. Ramakrishnan and J. Gehrke 1 Outline v Conceptual Design: ER Model v Relational Model v Logical Design: from ER to Relational 2 Conceptual
More informationLAB 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 informationHow To Convert An Er Diagram Into Relational Schema Example
How To Convert An Er Diagram Into Relational Schema Example ER Models in Tables - Transform ER Diagram into Tables. Database Management System Database Schema Database Instance Database In our Employee
More informationMIS Database Systems Entity-Relationship Model.
MIS 335 - Database Systems Entity-Relationship Model http://www.mis.boun.edu.tr/durahim/ Ahmet Onur Durahim Learning Objectives Database Design Main concepts in the ER model? ER Diagrams Database Design
More informationTHE COPPERBELT UNIVERSITY
THE COPPERBELT UNIVERSITY SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY IT/IS DEPARTMENT MAY, 2018 SESSIONAL EXAMINATIONS CS235 DATABASE TECHNOLOGY TIME ALLOWED: THREE HOURS INSTRUCTIONS : Maximum
More informationLECTURE 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 informationSystems Analysis and Design in a Changing World, Fourth Edition. Chapter 12: Designing Databases
Systems Analysis and Design in a Changing World, Fourth Edition Chapter : Designing Databases Learning Objectives Describe the differences and similarities between relational and object-oriented database
More informationThe entity is an object of interest to the end user. entity correspond to the table not to a row- in the relational environment.
THE ENTITY RELATIONSHIP MODEL(ERM)ENTITIES The entity is an object of interest to the end user. entity correspond to the table not to a row- in the relational environment. ATTRIBUTES Attributes are characteristics
More informationData about data is database Select correct option: True False Partially True None of the Above
Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another
More informationCS3200 Database Design Spring 2018 Derbinsky. Entity-Relationship (ER) Diagrams. Lecture 7
Lecture 7 . Context Outline Design & Implementation Process 2. Goals of Conceptual Design 3. Entity-Relationship (ER) Model 4. One ER Diagrammatic otation 5. Requirements Elicitation 6. Approaches to Conceptual
More informationThe 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 informationData Modeling Using the Entity-Relationship (ER) Model
CHAPTER 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright 2017 Ramez Elmasri and Shamkant B. Navathe Slide 1-1 Chapter Outline Overview of Database Design Process Example Database Application
More informationFrom ER Diagrams to the Relational Model. Rose-Hulman Institute of Technology Curt Clifton
From ER Diagrams to the Relational Model Rose-Hulman Institute of Technology Curt Clifton Review Entity Sets and Attributes Entity set: collection of things in the DB Attribute: property of an entity calories
More informationObjectives 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 informationNormalization. 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 informationCMSC 424 Database design Lecture 3: Entity-Relationship Model. Book: Chap. 1 and 6. Mihai Pop
CMSC 424 Database design Lecture 3: Entity-Relationship Model Book: Chap. 1 and 6 Mihai Pop Database Design Steps Entity-relationship Model Typically used for conceptual database design info Conceptual
More informationChapter 2 Introduction to Relational Models
CMSC 461, Database Management Systems Spring 2018 Chapter 2 Introduction to Relational Models These slides are based on Database System Concepts book and slides, 6th edition, and the 2009 CMSC 461 slides
More informationCS530 Database Architecture Models. Database Model. Prof. Ian HORROCKS. Dr. Robert STEVENS. and Design The Relational
02 - The Relational Database Model CS530 Database Architecture Models and Design Prof. Ian HORROCKS Dr. Robert STEVENS In this Section Topics Covered The basics of the relational model in the context of
More informationER-to-Relational Mapping
Lecture 9 1 1. Context 2. The Algorithm Outline 2 Database Design and Implementation Process 3 Data Models 4 Example ERD 5 Resulting Relational Schema 6 Step 1: Regular Entity Types i. For each regular/strong
More informationSystems Analysis and Design Methods Chapter 7: Data Modeling and Analysis
Systems Analysis and Design Methods Chapter 7: Data Modeling and Analysis Multiple Choice Questions 1. Which of the following sentence is NOT correct about a logical model: A. is implementation dependent
More information