Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design: Activity Diagrams
Advertisements

Chapter 1 Getting Started with Access Databases. Objectives Identify Good Database Design Create a Table and Define Fields in a New Blank Database Change.
Database Design Chapter Five DATABASE CONCEPTS, 6th Edition
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
The Relational Model Chapter Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 7 th Edition.
The Relational Model Chapter Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
CSCI 260 Database Applications Chapter 1 – Getting Started.
1-1 David M. Kroenke’s Chapter One: Introduction Database Processing: Fundamentals, Design, and Implementation.
Introduction to Database Processing
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 David M. Kroenke’s Chapter One: Introduction Part One Database Processing:
CSCI 150 Database Applications Chapter 1 – Getting Started.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
Information Technology in Organizations
The Relational Model Chapter Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
SQL Views Chapter 3A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Database Design Chapter Five DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 7 th Edition.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 David M. Kroenke’s Database Processing: Fundamentals, Design, and.
David M. Kroenke and David J. Auer Database Processing—12 th Edition Fundamentals, Design, and Implementation Chapter One: Introduction KROENKE AND AUER.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
Why Databases.
Getting Started with Microsoft Access The Access Workbench: Section One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Getting Started with Oracle Database 11g Release 2 Express Edition Appendix B DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Chapter 5 Database Processing.
Structured Query Language Chapter Three DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
CSC100 Databases Marni Ferner. A Few Well-Known Examples Itunes & Ipods Amazon.com Ebay LL Bean Wal-Mart.
David M. Kroenke’s Chapter One: Introduction Part Two Database Processing: Fundamentals, Design, and Implementation.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 1 The Four Main Database Objects Series Editor Amy Kinser.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast, Mary Anne Poatsy Chapter.
SQL Views Appendix E DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
IST 210: ORGANIZATION OF DATA Chapter 1. Getting Started IST210 1.
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan Access Chapter 3 Forms, Filters, and Reports.
SQL Views Chapter 3A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Chapter 5 Database Processing. Neil uses software to query a database, but it has about 25 standard queries that don’t give him all he needs. He imports.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
Database Management System (DBMS) an Introduction DeSiaMore 1.
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
SQL Views Chapter 3A. Appendix Objectives Learn basic SQL statements for creating views Learn basic SQL statements for using views Understand the reasons.
Skills for Success with Microsoft Office 2013 Volume 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Kris Townsend, Catherine.
Introduction to Databases Three File Processing Systems DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-2.
Assignment 1 Uploaded to course website Due next Tuesday, Sep 1, at 11:59pm.
The Relational Model Chapter Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Chapter 3 Requirements and Business Rules Copyright © 2012 Pearson Education, Inc. Publishing as Prentice HallChapter3.1.
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan Access Chapter 1 Introduction to Microsoft Access 2013.
David M. Kroenke and David J. Auer Database Processing: Fundamentals, Design, and Implementation Chapter One: Introduction.
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan PowerPoint Chapter 3 Enhancing a Presentation with Animation, Video,
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix G: Data Structures for Database Processing.
Chapter 1. Getting Started IST 210: Organization of Data IST2101.
David M. Kroenke and David J. Auer Database Processing: Fundamentals, Design, and Implementation Chapter Ten: Managing Databases with SQL Server 2012,
Introduction to Databases by Dr. Soper extended with more examples
Database Design Chapter Five DATABASE CONCEPTS, 4th Edition
David M. Kroenke and David J
Database Processing: David M. Kroenke’s Chapter One: Introduction
GO! with Microsoft® Access e
David M. Kroenke and David J
Database Processing: David M. Kroenke’s Chapter One: Introduction
Copyright © 2018, 2015, 20 Pearson Education, Inc. All Rights Reserved Database Concepts Eighth Edition Chapter # 2 The Relational Model.
Getting Started Chapter One DATABASE CONCEPTS, 5th Edition
Chapter 1 Introduction to Database Processing
Getting Started Chapter One DATABASE CONCEPTS, 4th Edition
Presentation transcript:

Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Chapter Objectives  Identify the purpose and scope of this book  Know the potential problems with lists  Understand the reasons for using a database  Understand how related tables avoid the problems of lists  Learn the components of a database system  Learn the elements of a database  Learn the purpose of the database management system (DBMS)  Understand the functions of a database application 1-3 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Purpose of a Database The purpose of a database is to keep track of things Unlike a list or spreadsheet, a database may store information that is more complicated than a simple list 1-4 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Problems with Lists: Redundancy In a list, each row is intended to stand on its own. As a result, the same information may be entered several times –For Example: A list of Projects may include the Project Manager’s Name, ID, and Phone Extension. If a particular person is managing 10 projects, his/her information would have to be entered 10 times 1-5 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Problems with Lists: Multiple Themes In a list, each row may contain information on more than one theme. As a result, needed information may appear in the lists only if information on other themes is also present –For Example: A list of Projects may include Project Manager information (Name, ID, and Phone Extension) and Project information (Name, ID, StartDate, Budget) in the same row. 1-6 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

List Modification Issues Redundancy and multiple themes create modification problems –Deletion problems –Update problems –Insertion problems 1-7 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

List Modification Issues 1-8 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Addressing the Information Complexities Relational databases are designed to address many of the information complexity issues 1-9 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Relational Databases A relational database stores information in tables. Each informational topic is stored in its own table In essence, a relational database will break-up a list into several parts. One part for each theme in the list A Project List would be divided into a CUSTOMER Table, a PROJECT Table, and a PROJECT_MANAGER Table 1-10 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Putting the Pieces Back Together In our relational database, we broke apart our list into several tables. Somehow the tables must be joined back together In a relational database, tables are joined together using the value of the data If a PROJECT has a CUSTOMER, the Customer_ID is stored as a column in the PROJECT table. The value stored in this column can be used to retrieve specific customer information from the CUSTOMER table 1-11 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Sounds like More Work, Not Less A relational database is more complicated than a list However, a relational database minimizes data redundancy, preserves complex relationships among topics, and allows for partial data Furthermore, a relational database provides a solid foundation for user forms and reports 1-12 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Relational Database Example 1-13 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

A Relational Database Solves the Problems of Lists 1-14 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

The Department, Advisor and Student Tables 1-15 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

The Project Equipment Tables 1-16 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Structured Query Language (SQL) Structured Query Language (SQL) is an international standard for creating, processing and querying databases and their tables Many database applications use SQL to retrieve, format, report, insert, delete, and/or modify data for users 1-17 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

The Art Course Database 1-18 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

SQL Example 1-19 We can use SQL to combine the data in the three tables in the Art Course Database to recreate the original list structure of the data. We do this by using an SQL SELECT statement KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

SQL Example (Continued) SELECTCUSTOMER.CustomerLastName, CUSTOMER.CustomerFirstName, CUSTOMER.Phone, COURSE.CourseDate, ENROLLMENT.AmountPaid, COURSE.Course, COURSE.Fee FROMCUSTOMER, ENROLLMENT, COURSE WHERECUSTOMER.CustomerNumber = ENROLLMENT.CustomerNumber AND COURSE.CourseNumber = ENROLLMENT.CourseNumber; 1-20 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

SQL Example Results 1-21 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Database Systems The four components of a database system are: –Users –Database Application –Database Management System (DBMS) –Database 1-22 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Components of a Database System 1-23 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Users A user of a database system will –Use a database application to track things –Use forms to enter, read, delete and query data –Produce reports 1-24 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

The Database A database is a self-describing collection of related records Self-describing –The database itself contains the definition of its structure –Metadata is data describing the structure of the database data Tables within a relational database are related to each other 1-25 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Database Contents 1-26 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Example Database Metadata: A Relationship Diagram 1-27 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Database Management System (DBMS) A database management system (DBMS) serves as an intermediary between database applications and the database The DBMS manages and controls database activities The DBMS creates, processes and administers the databases it controls 1-28 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Functions of a DBMS Create databases Create tables Create supporting structures Read database data Modify database data (insert, update, delete) Maintain database structures Enforce rules Control concurrency Provide security Perform backup and recovery 1-29 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Referential Integrity Constraints The DBMS will enforce many constraints Referential integrity constraints ensure that the values of a column in one table are valid based on the values in another table –If a 5 was entered as a CustomerID in the PROJECT table, a Customer having a CustomerID value of 5 must exist in the CUSTOMER table 1-30 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Database Applications A database application is a set of one or more computer programs that serves as an intermediary between the user and the DBMS 1-31 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Functions of Database Applications Create and process forms Process user queries Create and process reports Execute application logic Control database applications 1-32 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Database Applications: Example Data Entry Form 1-33 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Database Applications: Example Query 1-34 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Database Applications: Example Report 1-35 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Personal Database Systems Personal database systems typically: –Have one application –Have only a few tables –Are simple in design –Involve only one computer –Support one user at a time 1-36 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Personal Database Systems 1-37 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Personal Database Systems: An SQL Query in Microsoft Access 1-38 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Enterprise-Class Database Systems Enterprise-Class database systems typically: –Support several users simultaneously –Include more than one application –Involve multiple computers –Are complex in design –Have many tables –Have many databases 1-39 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Organizational Database Systems 1-40 KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Commercial DBMS Products Example Desktop DBMS Products –Microsoft Access Example Organizational DBMS Products –Microsoft’s SQL Server –Oracle’s Oracle –Sun Microsystem’s MySQL –IBM’s DB KROENKE and AUER - DATABASE CONCEPTS (5th Edition) Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall

Getting Started End of Presentation on Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall