Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals The Data.

Slides:



Advertisements
Similar presentations
Database Fundamentals
Advertisements

Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals Physical.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Self-joins,
Group G10 Minh Anderson Thomas Hickerson. Q1: In the crow’s foot notation, entity types are denoted by boxes.
Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Database Fundamentals Defining.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Create Student-Team.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Aggregate.
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
IT420: Database Management and Organization
Entity-Relationship Model
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals Data.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Evaluating.
Entity-Relation Modeling Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
ISMT221 Information Systems Analysis and Design Entity-Relationship Diagram Lab 4 Tony Tam.
Agenda for Week 1/31 & 2/2 Learn about database design
Chapter Five Data Modeling with the Entity-Relationship Model.
Systems Analysis and Design in a Changing World, 6th Edition
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Advanced SQL Greenhouse Database.
Chapter Five Data Modeling with the Entity-Relationship Model.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Advanced SQL Type II (Correlated)
Case study Lisa’s Bookstore IST210.
APPENDIX C DESIGNING DATABASES
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Introduction.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Using two.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals SQL Server.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Entity-Relationship Modeling I The cautious seldom err. Confucius.
ระบบฐานข้อมูลขั้นสูง (Advanced Database Systems) Lecturer AJ. Suwan Janin Phone:
Conceptual Data Modeling, Entity Relationship Diagrams
Conceptual Data Modeling. What Is a Conceptual Data Model? A detailed model that shows the overall structure of organizational data A detailed model.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals Test.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 4 - Domain Classes.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals SELECT … FROM.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Advanced SQL Nested aggregate.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Aggregating.
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 4 Domain Classes.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals SELECT … FROM.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals Physical.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Sorting output.
Entity Relationship Diagrams. Entities An entity is something about which the system/business needs to store data. Entities are drawn as rectangles The.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Logical operators.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Advanced SQL In-Line Subquery.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Advanced SQL Equi-Join One-sided.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Chapter 4 The Semantic Object Model David M. Kroenke Database Processing © 2000 Prentice Hall.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Set Operators:
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
Lecture 91 Introduction to Data Analysis and Logic Specification Objectives l Draw an entity-relationship diagram, and explain the types of entity relationships.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals WHERE clause.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Advanced SQL The relational.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals Data.
Databases A database is a collection of data. How that data is organized determines what type of database it is. Over the history of computers there have.
Database Design Chapters 17 and 18.
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Database Design – Lecture 4
Database Design Using the REA Data Model
Database Fundamentals
MIS2502: Data Analytics Relational Data Modeling
Database Design Chapters 17 and 18.
Relationships—Topics
Database Processing: David M. Kroenke’s Chapter Five:
MIS2502: Data Analytics Relational Data Modeling 2
ER MODELING Instructor: SAMIA ARSHAD
Presentation transcript:

Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals The Data Model 1 Microsoft Enterprise Consortium: Microsoft Faculty Connection/Faculty Resource Center

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Model notation The are relatively few symbols in data modeling but many terms and concepts are represented by a deceptively simple set of symbols. We can’t seem to agree! There is than one set of symbols (a.k.a. notation) used for data modeling. There is no consensus among IS professionals on which set to use. We’ll use the crow’s feet notation. It is commonly found in systems analysis and design textbooks. Once you become comfortable with data modeling terms—what they are and, more importantly, what they mean—you’ll find it fairly easy to switch from one notation to another. 2

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Data Model – Entity Entity: An entity is a person, place, thing or event about which we want to store information. Example entities are: customer, inventory, project, etc. Entity type and entity: We usually say “entity” but you may also hear “entity type”. Entity and entity instance: An entity instance is a single occurrence of an entity. For example: Bob Wilson is an instance of the entity CUSTOMER. The symbol for an entity is a rectangle: 3 ENTITY

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Data Model – Attribute Attribute: An attribute is a single unit of information that describes something about an entity. An entity usually has many attributes. Example: For a CUSTOMER entity, we probably want to know the customer’s first name, last name, address, home phone number, etc. 4 ENTITY Attribute1 Attribute 2 CUSTOMER Cust_First_Name Cust_Last_Name Cust_Phone

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Data Model: Different kinds of attributes In this example of an EMPLOYEE entity, some of the attributes have additional notation that is important to understand. EMP_ID is an identifier. Each entity instance has a unique value for the identifier attribute. Another way to put this: Each identifier value uniquely identifies one entity instance. Emp_Phone is a multivalued attribute. That means each employee may have more than one phone number. So, this “phone number” attribute can have more than one value for each entity instance. 5 EMPLOYEE Emp_ID Emp_First_Name Emp_Last_Name {Emp_Phone} Karla Stevens has employee ID David Adams has employee ID Karla Stevens has a number for her office phone number, her cell phone, and her home phone.

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Data Model – Relationship Within the data model, one entity is related to one or more entities. A line represents a relationship between two entities. In the example below a CUSTOMER is related to an ORDER and an ORDER is related to INVENTORY. (Attributes aren’t shown in order to simplify the diagram.) 6 CUSTOMERINVENTORYORDER

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Data Model - Cardinality Cardinality symbols show the minimum and maximum constraints on a relationship (and here is where the “crow’s feet” come in). The next presentation will discuss cardinality in greater detail but the example below shows 3 symbols: a vertical line, a zero, and crow’s feet (3 lines projected from a single point). 7 CUSTOMERINVENTORYORDER

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas This presentation covered … The crow’s feet notation used for modeling data. Data model terms: ◦Entity & entity type ◦Attribute ◦Entity instance ◦Relationship ◦Identifier ◦Multivalued attribute ◦Cardinality – minimum and maximum 8

Microsoft Enterprise Consortium Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Resources Microsoft Enterprise Consortium: ◦The consortium provides teaching material and large databases donated by some major corporations. Microsoft Faculty Connection—Faculty Resource Center ◦A wide range of teaching resources are available. 9