MIS 320 Kraig Pencil Summer 2014

Slides:



Advertisements
Similar presentations
PPT Slides by Dr. Craig Tyran & Kraig Pencil The editor in charge of business books for Prentice Hall, I have traveled the length and breadth of.
Advertisements

McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module C Designing Databases and Entity-Relationship.
Extended Learning Module C
© McGraw-Hill Companies, Inc., McGraw-Hill/Irwin Extended Learning Module C Designing Databases and Entity-Relationship Diagramming.
PPT Slides by Dr. Craig Tyran & Kraig Pencil Acquiring Information Systems MIS 320 Kraig Pencil Summer 2013.
MICROSOFT OFFICE ACCESS 2007.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Decision Making & Decision Support MIS 320 Kraig Pencil Summer 2014.
M.S. Access Module CAS 133 Russ Erdman. M.S. Access Module Assignment Overview Two options for the unit: All students complete Units A, B and C In class.
MIS 210 Fall 2004Sylnovie Merchant, Ph. D. Lecture 4: Data Modeling Process Modeling MIS 210 Information Systems I.
From Class Diagrams to Databases. So far we have considered “objects” Objects have attributes Objects have operations Attributes are the things you record.
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.
Entity-Relationship Model and Diagrams (continued)
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Extended Learning Module C Designing Databases and Entity-Relationship Diagramming McGraw-Hill/Irwin Copyright © 2010 by the McGraw-Hill Companies, Inc.
Designing a Database Unleashing the Power of Relational Database Design.
Databases and Database Management Systems
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
Database Software Application
Transaction Processing Systems, & Management Information Systems.
PPT Slides by Dr. Craig Tyran Types of Information Systems: Ways to Use IT in Organizations MIS 320 Kraig Pencil Summer 2013.
Database Design Concepts
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
Business Process Modeling
Databases. Database A database is an organized collection of related data.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module C Designing Databases and Entity-Relationship.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
CSC 240 (Blum)1 Introduction to Database. CSC 240 (Blum)2 Data versus Information When people distinguish between data and information, –Data is simply.
PPT Slides by Dr. Craig Tyran & Kraig Pencil Information Systems Software MIS 320 Kraig Pencil Summer 2013.
Information Systems Today (©2006 Prentice Hall) 3-1 CS3754 Class Note 12 Summery of Relational Database.
SQL Structured Query Language Programming Course.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
IST 220 – Intro to Databases Analyzing Data Needs.
Database Beginnings. Scenario so far In our scenario we have people registering for training sessions. –The data about the training sessions was placed.
Next Back A-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All rights.
C-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
MS Access. Access is a DBMS/RDMS DBMS = Database Management System RDMS = Relational Database Management System.
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.
Relational Theory and Design
CISB113 Fundamentals of Information Systems Data Management.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Database Design – Lecture 4 Conceptual Data Modeling.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
PPT Slides by Dr. Craig Tyran & Kraig Pencil E-Commerce: Supporting External and Internal Linkages Part 2 MIS 320 Kraig Pencil Summer 2013.
BIS 245 Academic professor/tutorialrank.com For more course Tutorials
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Sample Table Standard Notation Entity name in uppercase
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
Howard Paul. Sequential Access Index Files and Data File Random Access.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
ASET 1 Amity School of Engineering & Technology B. Tech. (CSE/IT), III Semester Database Management Systems Jitendra Rajpurohit.
Chapter 1: Introduction. 1.2 Database Management System (DBMS) DBMS contains information about a particular enterprise Collection of interrelated data.
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
DBS201: Data Modeling. Agenda Data Modeling Types of Models Entity Relationship Model.
DATA SCIENCE MIS0855 | Spring 2016 Designing Data
Database Design Chapters 17 and 18.
©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin
Database Design Chapters 17 and 18.
Conceptual modeling of databases
Databases and Information Management
Presentation transcript:

MIS 320 Kraig Pencil Summer 2014 Database Design MIS 320 Kraig Pencil Summer 2014

Game Plan Introduction Data base design Database scenario Key questions/answers

A. Introduction Remember … ? CNN: Internet is “Top innovation” of past 25 years (1/18/05) But Kraig Pencil says … The relational database is equally important Really? Why? The Internet would not be nearly as successful without relational databases providing rich information.

A. Introduction You can ask a database questions How many cans of chicken soup do we have in inventory? How large is the average pay raise in each department? Who are my best/worst customers? What else have I-Pod buyers also purchased? Is this airline passenger a known terrorist? Who has friended Gayle Zhang? Who else might Gayle want to consider friending? With the right data and a well-designed database, you can ask anything.

A. Introduction Who works with databases? Database programmers Database analysts Database designers Database administrators Data administrators Website designers/programmers Many non-IT users! Marketers Financial analysts Human resources managers …. And more

A. Introduction What does an organization do with data/information? Capture, cradle, and process transaction data/information e.g., TPS Use information to make decisions e.g., DSS “Oversee” the information e.g., Who can view or use what info?, How to back up info?, How long to retain info? What can help support the above? A database management system

B. Business Scenario Is data management a problem? For generations we stored information in filing cabinets, then in Excel spreadsheets. But as the amount of data has grown those methods have become … Inefficient – and expensive – to store and gather data Unable to support for decision making based on data  A database management system is needed to support business !!!

B. Business Scenario Northwind Incorporated Distributor of food and beverage products Customers: Restaurants and specialty food stores Suppliers: Come from around the world In the lab and lectures, you will see how efficiently a database management system can provide rich information to the organization.

C. Steps of Database Design What kinds of “things” does an organization want to collect information about? Determine the Entities For Northwind Inc, the “entities” of interest include: Customers Suppliers Employees Products Etc.

C. Steps of Database Design (cont.) 2. What specific information about each entity is important? Determine the attributes for each entity Example: For the Employee entity, attributes may include Employee name Address Hourly rate Etc. Who is this guy doing the interview? A “business analyst” For each employee, we keep track of … President of Northwind

C. Steps of Database Design (cont.) 3. How do we organize the data? Which type of database “model” shall we use? Assume: Use the most popular model  Relational model “Relation” refers to ??? Data is organized as a linked set of tables An example of a relational database management system that you are using in MIS 320 : ___________

Northwind Database in MS Access Sample Entity-Relationship Diagram (aka an “ERD” or “ER diagram”)

B. Database Questions (cont.) 4. What are the important aspects of a data table? Terminology for data tables Field (i.e. column) Attribute of the entity Record (i.e. row) An instance of an entity File (i.e., table) Collection of records for an entity Primary key Unique identifier for each record Often a unique “ID code” is created Example: See next figure Find all records in the Customer file for which the customer’s name field is Serena Lewis

Database Tables What are examples of a) Field, b) Record, c) File, and d) appropriate Primary Key ?? Supplier Table Supplier ID Company Name Street Address City State 1001 ACME Inc. 123 Easy St. Deming WA 1002 XYZ Corporation 456 Maple St. Bellingham 1003 ProductCo Inc. 389 Main St. Seattle … Product ID Product Name Unit Price ($) Supplier ID 800 Cheddar Cheese 15 1001 801 Swiss Cheese 12 802 Chuckanut Red Wine 20 1002 … …. Product Table

C. Steps of Database Design (cont.) 5. What are the relationships between the entities? A database involves tables that are linked together When building a database, we need to know how to link the tables i.e., We need to know how the entities are related! e.g., A Supplier provides a Product. If we know who the supplier is, we can find all the products they have supplied to us. For any product, we should be able to find the supplier’s address. Develop a “blueprint” diagram for database design Entity-relationship diagram

B. Database Questions (cont.) 5. What are the relationships between the entities? (cont.) Possible “relationship types” A) one to one, B) one to many, c) many to many “one” means “at most one” “many” means “more than one” Example: Entities: Supplier, Product What is the relationship type? We are told that: A supplier can provide many different kinds of products. A product can be supplied by a max of one supplier. Entity-Relationship Diagram: one ??? many ??? Supplier Product Provides

B. Database Questions (cont.) 5. Relationship symbols: these all mean the same thing The textbook used “crowsfoot” symbols Access uses “1 – ∞” symbols Access uses “ – ∞” symbols One Many Ignore these “inner” symbols

B. Database Questions (cont.) Foreign key Serves as a “link” between data files/tables A field in one file/table that serves as a primary key in another file/table How to determine the foreign key? For a “one to many” relationship, the primary key on the “one” side of the relationship is added to the table on the “many” side See examples

Database Tables: Northwest Inc. Supplier Table Supplier ID Company Name Street Address City State 1001 ACME Inc. 123 Easy St. Deming WA 1002 XYZ Corporation 456 Maple St. Bellingham 1003 ProductCo Inc. 389 Main St. Seattle … Product Table Product ID Product Name Unit Price ($) Supplier ID Category ID 800 Cheddar Cheese 15 1001 10 801 Swiss Cheese 12 802 Chuckanut Red Wine 20 1002 … …. Category ID Category Name Description 10 Dairy Cheese and milk products 20 Spirits Wine and liquors … Category Table

Northwind Database in MS Access: Primary/Foreign Keys Where are the primary keys? The foreign keys?

C. Steps of Database Design (cont.) 6. What do we do with the entity-relationship diagram? (cont.) ERD can be reviewed with client (Is the design correct for the client’s needs?) Database design can be used to build the database e.g., Build database in MS Access Can database design get more complicated than this? Yes! But … the previous example will suffice for MIS 320 The lab database projects will typically focus on “one to many” types of relationships

Terminology Summary The terms in each row have very similar meanings. For this course, learn all of the terms, but do not be concerned about the nuanced differences between terms in the same row. Easy to understand Academic Table (File) Entity / Relation Column Field Attribute Row Record Instance