of 38
7/26/2019 Kroenke Dbp12 Pp Ch01
1/38
David M. Kroenke and David J. Auer
Database Processing12thEditionFundamentals, Design, and Implementation
Chapter One:Introduction
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-1
7/26/2019 Kroenke Dbp12 Pp Ch01
2/38
Chapter Objectives
To understand the nature and characteristics ofdatabases
To survey some important and interesting databaseapplications
To gain a general understanding of tables andrelationships
To describe the components of a Microsoft Accessdatabase system and explain the functions they perform
To describe the components of an enterprise-classdatabase system and explain the functions they perform
To define the term database management system(DBMS)and describe the functions of a DBMS
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-2
7/26/2019 Kroenke Dbp12 Pp Ch01
3/38
Chapter Objectives
To define the term databaseand describe what iscontained within the database
To define the term metadataand provide examples ofmetadata
To define and understand database design from existingdata
To define and understand database design as newsystems development
To define and understand database design in databaseredesign
To understand the history and development of databaseprocessing
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-3
7/26/2019 Kroenke Dbp12 Pp Ch01
4/38
The Characteristics of Databases
The purpose of a databaseis to help people
track things of interest to them.
Data is stored in tables, which have rows and
columns like a spreadsheet. A database mayhave multiple tables, where each table stores
data about a different thing.
Each row in a table stores data about an
occurrence or instanceof the thing of interest.
A database stores dataand relationships.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-4
7/26/2019 Kroenke Dbp12 Pp Ch01
5/38
Data in Tables
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-5
7/26/2019 Kroenke Dbp12 Pp Ch01
6/38
The Key Characteristic of
Databases: Related Tables
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-6
7/26/2019 Kroenke Dbp12 Pp Ch01
7/38
Naming Conventions in this
Textbook
Table namesare written with all capital
letters:
STUDENT, CLASS, GRADE
Column namesare written with an initial
capital letter, and compound names are
written with a capital letter on each word:
Term, Section, ClassNumber, StudentName
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-7
7/26/2019 Kroenke Dbp12 Pp Ch01
8/38
Databases Create Information
Data= recorded facts and figures
Information= knowledge derived fromdata
Databases record data, but they do so insuch a way that we can produceinformation from the data.
The data on STUDENTs, CLASSes, andGRADEs could produce information abouteach students GPA.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-8
7/26/2019 Kroenke Dbp12 Pp Ch01
9/38
Database Examples
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-9
7/26/2019 Kroenke Dbp12 Pp Ch01
10/38
Components of a Database System
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-10
7/26/2019 Kroenke Dbp12 Pp Ch01
11/38
Components of a Database System
with SQL
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-11
7/26/2019 Kroenke Dbp12 Pp Ch01
12/38
Applications, the DBMS, and SQL
Applicationsare the computer programsthat users work with.
The Database Management System
(DBMS)creates, processes, andadministers databases.
Structured Query Language (SQL)is an
internationally recognized standarddatabase language that is used by allcommercial DBMSs.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-12
7/26/2019 Kroenke Dbp12 Pp Ch01
13/38
Database Applications
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-13
7/26/2019 Kroenke Dbp12 Pp Ch01
14/38
Database ApplicationsForms
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-14
7/26/2019 Kroenke Dbp12 Pp Ch01
15/38
Database ApplicationsQueries
SELECT LastName, FirstName, EmailAddress
FROM STUDENT
WHERE StudentNumber > 2;
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-15
7/26/2019 Kroenke Dbp12 Pp Ch01
16/38
DatabaseReports
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-16
7/26/2019 Kroenke Dbp12 Pp Ch01
17/38
The DBMS
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-17
7/26/2019 Kroenke Dbp12 Pp Ch01
18/38
The Database
A databaseis a self-describing collectionof integrated tables.
The tables are called integratedbecause
they store data about the relationshipsbetween the rows of data.
A database is called self-describing
because it stores a description of itself. The self-describing data is called
metadata, which is data about data.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-18
7/26/2019 Kroenke Dbp12 Pp Ch01
19/38
Typical Metadata Tables
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-19
7/26/2019 Kroenke Dbp12 Pp Ch01
20/38
Database Contents
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-20
7/26/2019 Kroenke Dbp12 Pp Ch01
21/38
Personal Database Systems:
Microsoft Access
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-21
7/26/2019 Kroenke Dbp12 Pp Ch01
22/38
Microsoft Access
Microsoft Accessis a low-end product
intended for individual users and small
workgroups.
Microsoft Access tries to hide much of theunderlying database technology from the user.
A good strategy for beginners, but not for
database professionals.
NOTE: Microsoft Access 2007 is discussed in
detail in Appendix A.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-22
7/26/2019 Kroenke Dbp12 Pp Ch01
23/38
What Is Microsoft Access?
Microsoft Access is a DBMS plus anapplication generator: The DBMS creates, processes, and administers
Microsoft Access databases.
The application generator includes query, form, andreport components.
The Microsoft Access DBMS engine is called theAccess Data Engine (ADE).
Microsoft Access 2000 and later can be used asan application generator for the Microsoft SQLServer DBMS.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-23
7/26/2019 Kroenke Dbp12 Pp Ch01
24/38
Enterprise-Class Database
Systems
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall
1-24
7/26/2019 Kroenke Dbp12 Pp Ch01
25/38
Prominent DBMS Products
Microsoft Access 2010
Microsoft SQL Server 2008 R2
Microsoft SQL Server 2008 R2 Express
Oracle Corporation Oracle Database 11g
MySQL 5.5
IBM DB2
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-25
http://office.microsoft.com/en-us/access/http://www.microsoft.com/sql/default.mspxhttp://www.microsoft.com/sqlserver/2008/en/us/express.aspxhttp://www.oracle.com/database/index.htmlhttp://www.mysql.com/http://www-306.ibm.com/software/data/db2/http://www-306.ibm.com/software/data/db2/http://www.mysql.com/http://www.oracle.com/database/index.htmlhttp://www.microsoft.com/sqlserver/2008/en/us/express.aspxhttp://www.microsoft.com/sql/default.mspxhttp://office.microsoft.com/en-us/access/7/26/2019 Kroenke Dbp12 Pp Ch01
26/38
DBMS Power vs. Ease of Use
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-26
7/26/2019 Kroenke Dbp12 Pp Ch01
27/38
Three Types of Database Design
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-27
7/26/2019 Kroenke Dbp12 Pp Ch01
28/38
Database Design from Existing Data
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-28
7/26/2019 Kroenke Dbp12 Pp Ch01
29/38
Data Import: One or Two Tables?
This is an important
decision, and based on
a set of rules known as
normalization(which is
covered in Chapter 3).
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-29
7/26/2019 Kroenke Dbp12 Pp Ch01
30/38
Database Design from New
Systems Development
Entity-Relationship data modeling is covered in Chapter 5, and data model
transformations to database designsare covered in Chapter 6.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-30
7/26/2019 Kroenke Dbp12 Pp Ch01
31/38
Database Design from Database
Redesign
Database redesignis
covered in Chapter 8,
after coverage of SQL in
Chapter Seven.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-31
7/26/2019 Kroenke Dbp12 Pp Ch01
32/38
What You Need To Learn
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-32
7/26/2019 Kroenke Dbp12 Pp Ch01
33/38
Knowledge Priorities
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-33
7/26/2019 Kroenke Dbp12 Pp Ch01
34/38
A Brief History of
Database
ProcessingI
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-34
7/26/2019 Kroenke Dbp12 Pp Ch01
35/38
A Brief History of
Database
ProcessingII
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-35
7/26/2019 Kroenke Dbp12 Pp Ch01
36/38
The Relational Database Model
The dominant database model is therelational database modelall currentmajor DBMS products are based on it.
It was created by IBM engineer E. F.Coddin 1970.
It was based on mathematics called
relational algebra. This text examines and explains the
relational database model.
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-36
7/26/2019 Kroenke Dbp12 Pp Ch01
37/38
David Kroenke and David Auer
Database Processing12thEdition
Fundamentals, Design, and Implementation
End of Presentation:
Chapter One
KROENKE AND AUER - DATABASE PROCESSING, 12th Edition 2012 Pearson Prentice Hall 1-37
7/26/2019 Kroenke Dbp12 Pp Ch01
38/38
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 2012 Pearson Education, Inc.Publishing as Prentice Hall
KROENKE AND AUER DATABASE PROCESSING 12th Edition 1 38