SlideShare uma empresa Scribd logo
1 de 37
© 2007 by Prentice Hall© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod and George SchellManagement Information Systems, 10/e Raymond McLeod and George Schell 11
ManagementManagement
Information Systems,Information Systems,
10/e10/e
Raymond McLeod and George SchellRaymond McLeod and George Schell
© 2007 by Prentice Hall© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod and George SchellManagement Information Systems, 10/e Raymond McLeod and George Schell 22
Chapter 6Chapter 6
Database Management SystemsDatabase Management Systems
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod3
Learning ObjectivesLearning Objectives
► Understand the hierarchy of data.Understand the hierarchy of data.
► Understand database structures and how theyUnderstand database structures and how they
work.work.
► Know how to relate tables together in a database.Know how to relate tables together in a database.
► Recognize the difference between a database andRecognize the difference between a database and
a database management system.a database management system.
► Understand the database concept.Understand the database concept.
► Know two basic methods for determining dataKnow two basic methods for determining data
needs.needs.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod4
Learning Objectives (Cont’d)Learning Objectives (Cont’d)
► Understand entity-relationship diagrams and classUnderstand entity-relationship diagrams and class
diagrams.diagrams.
► Know the basics of reports and forms.Know the basics of reports and forms.
► Understand the basic difference betweenUnderstand the basic difference between
structured query language and query-by-example.structured query language and query-by-example.
► Know about the important personnel who areKnow about the important personnel who are
associated with databases.associated with databases.
► Know the advantages and costs of databaseKnow the advantages and costs of database
management systems.management systems.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod5
Data HierarchyData Hierarchy
►Data fieldData field is the smallest unit of data.is the smallest unit of data.
►RecordRecord is a collection of related data fields.is a collection of related data fields.
►FileFile is a collection of related records.is a collection of related records.
►DatabaseDatabase is a collection of related files.is a collection of related files.
 General definitionGeneral definition
 Restrictive definitionRestrictive definition
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod6
DatabaseDatabase
► Table of rows & columns can be represented in aTable of rows & columns can be represented in a
spreadsheet.spreadsheet.
► Relational database structureRelational database structure is conceptuallyis conceptually
similar to a collection of related tables.similar to a collection of related tables.
► Flat fileFlat file is a table that does not have repeatingis a table that does not have repeating
columns; 1columns; 1stst
normal form.normal form.
► NormalizationNormalization is a formal process for eliminatingis a formal process for eliminating
redundant data fields which preserving the abilityredundant data fields which preserving the ability
of the database to add, delete, and modify recordsof the database to add, delete, and modify records
without causing errors.without causing errors.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod7
Figure 6.1 Spreadsheet as a SimpleFigure 6.1 Spreadsheet as a Simple
DatabaseDatabase
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod8
Database (Cont’d)Database (Cont’d)
► KeyKey in a table is a field (or combination of fields)in a table is a field (or combination of fields)
that contain a value that uniquely identifies eachthat contain a value that uniquely identifies each
record in the table.record in the table.
► Candidate keyCandidate key is a field that uniquely identifiesis a field that uniquely identifies
each table row but is not the chosen key.each table row but is not the chosen key.
► Relating tables is done through sharing a commonRelating tables is done through sharing a common
field & the value of the field determines which rowsfield & the value of the field determines which rows
in the tables are logically joined.in the tables are logically joined.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod9
Database Management SystemDatabase Management System
►Database management systemDatabase management system
(DBMS)(DBMS) is a software application thatis a software application that
stores the structure of the database, thestores the structure of the database, the
data itself, relationships among data in thedata itself, relationships among data in the
database, and forms & reports pertaining todatabase, and forms & reports pertaining to
the database.the database.
 Self-describing set of related data.Self-describing set of related data.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod10
Database StructuresDatabase Structures
►HierarchicalHierarchical is formed by data groups,is formed by data groups,
subgroups, and further subgroups; likesubgroups, and further subgroups; like
branches on a tree.branches on a tree.
 Worked well with TPSs.Worked well with TPSs.
 Utilized computer resources efficiently.Utilized computer resources efficiently.
►NetworkNetwork allows retrieval of specificallows retrieval of specific
records; allows a given record to point torecords; allows a given record to point to
any other record in the database.any other record in the database.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod11
Figure 6.2 Hierarchical StructureFigure 6.2 Hierarchical Structure
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod12
Database Structures (Cont’d)Database Structures (Cont’d)
►RelationalRelational is when the relationshipis when the relationship
between tables are implicit.between tables are implicit.
►Physical relationshipPhysical relationship is when theis when the
database structure (hierarchical, network)database structure (hierarchical, network)
rely on storage addresses.rely on storage addresses.
►Implicit relationshipImplicit relationship is when theis when the
database structure (relational) can bedatabase structure (relational) can be
implied from the data.implied from the data.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod13
A Relational Database ExampleA Relational Database Example
►A database namedA database named ScheduleSchedule has been createdhas been created
from tables used earlier in the chapter and somefrom tables used earlier in the chapter and some
othersothers
►The database is implemented in MicrosoftThe database is implemented in Microsoft
Access 2002 (also known as Access XP).Access 2002 (also known as Access XP).
►Databases break information into multiple tablesDatabases break information into multiple tables
because if information were stored in a singlebecause if information were stored in a single
table, many data field values would betable, many data field values would be
duplicated.duplicated.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod14
ScheduleSchedule DatabaseDatabase
► The example is implemented on Microsoft Access DBMS butThe example is implemented on Microsoft Access DBMS but
would be similar on any relational DBMS product.would be similar on any relational DBMS product.
► The COURSE table in Access (Figure 6.4) is a list of data fieldThe COURSE table in Access (Figure 6.4) is a list of data field
values. The table itself had to be defined in Access before valuesvalues. The table itself had to be defined in Access before values
were entered into the data fields.were entered into the data fields.
► Figure 6.5 shows the definition of theFigure 6.5 shows the definition of the CodeCode field.field.
► Figure 6.6 illustrates thatFigure 6.6 illustrates that AbbreviationAbbreviation field values will befield values will be
looked up from a list of values in the DEPARTMENT table.looked up from a list of values in the DEPARTMENT table.
► Table 6.7 shows a single table of course and department fieldsTable 6.7 shows a single table of course and department fields
before they were separated into different tables.before they were separated into different tables.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod15
Figure 6.4 The COURSE TableFigure 6.4 The COURSE Table
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod16
Figure 6.5 Defining the CODE FieldFigure 6.5 Defining the CODE Field
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod17
Figure 6.6 Look-up ValuesFigure 6.6 Look-up Values
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod18
Table 6.7Table 6.7
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod19
Figure 6.7 Access ViewFigure 6.7 Access View
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod20
Database ConceptDatabase Concept
► Database conceptDatabase concept is the logical integration ofis the logical integration of
records across multiple physical locations.records across multiple physical locations.
► Data independenceData independence is the ability to makeis the ability to make
changes in the data structure without makingchanges in the data structure without making
changes to the application programs that accesschanges to the application programs that access
the data.the data.
► Data dictionaryData dictionary includes the definition of theincludes the definition of the
data stored within the database & controlled by thedata stored within the database & controlled by the
database management system.database management system.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod21
Creating a DatabaseCreating a Database
►Determine data that needs to be collected &Determine data that needs to be collected &
stored is a key step.stored is a key step.
►Process-oriented approachProcess-oriented approach
 Define the problem.Define the problem.
 Identify necessary decisions.Identify necessary decisions.
 Describe information needs.Describe information needs.
 Determine the necessary processing.Determine the necessary processing.
 Specify data needs.Specify data needs.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod22
Determine Data Needs (Cont’d)Determine Data Needs (Cont’d)
►Enterprise modeling approachEnterprise modeling approach takes atakes a
broad view of the firm’s data resources; allbroad view of the firm’s data resources; all
areas are considered, & synergy of dataareas are considered, & synergy of data
resources between business areas can beresources between business areas can be
leveraged.leveraged.
 Result:Result: Enterprise data modelEnterprise data model
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod23
Figure 6.8 Enterprise Data ModelFigure 6.8 Enterprise Data Model
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod24
Data Modeling TechniquesData Modeling Techniques
►Entity-relationship diagrams (ERDs)Entity-relationship diagrams (ERDs)
is a graphical representation of data inis a graphical representation of data in
entities and the relationships betweenentities and the relationships between
entities.entities.
►EntityEntity is a conceptual collection of relatedis a conceptual collection of related
data fields.data fields.
►RelationshipRelationship is defined between entities.is defined between entities.
 One-to-one – 1:1One-to-one – 1:1
 One-to-many – 1:MOne-to-many – 1:M
 Many-to-many – M:NMany-to-many – M:N
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod25
Figure 6.11 Entity-relationshipFigure 6.11 Entity-relationship
DiagramDiagram
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod26
Diagramming Techniques (Cont’d)Diagramming Techniques (Cont’d)
►Class DiagramClass Diagram is a graphicalis a graphical
representation of both the data used in anrepresentation of both the data used in an
application and the actions associated withapplication and the actions associated with
the data; object-oriented design modelthe data; object-oriented design model
►ObjectsObjects are the data, actions taken on theare the data, actions taken on the
data, & relationship between objects.data, & relationship between objects.
►Class diagrams consist of the named class,Class diagrams consist of the named class,
fields in the class, & actions (fields in the class, & actions (methodsmethods) that) that
act upon the class.act upon the class.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod27
Figure 6.13 Class DiagramFigure 6.13 Class Diagram
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod28
Using the DatabaseUsing the Database
►FormsForms show 1 record at a time & can beshow 1 record at a time & can be
used to add, delete, or modify databaseused to add, delete, or modify database
records.records.
 NavigationNavigation
 AccuracyAccuracy
 ConsistencyConsistency
 FilteringFiltering
 subformssubforms
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod29
Figure 6.15 Combined Data EntryFigure 6.15 Combined Data Entry
FormForm
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod30
Using the Database (Cont’d)Using the Database (Cont’d)
►ReportsReports are aggregated data from theare aggregated data from the
database that are formatted in a mannerdatabase that are formatted in a manner
that aids decision making.that aids decision making.
►QueriesQueries is a request for the database tois a request for the database to
display selected records.display selected records.
►Query-by-example (QBE)Query-by-example (QBE) presents apresents a
standardized form that the user completesstandardized form that the user completes
so the system can generate a true query.so the system can generate a true query.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod31
Figure 6.16 Report of DepartmentsFigure 6.16 Report of Departments
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod32
Structured Query LanguageStructured Query Language
►Structured query language (SQL)Structured query language (SQL) isis
the code that RDBMSs use to perform theirthe code that RDBMSs use to perform their
database tasks.database tasks.
►Method of choice for interacting with web-Method of choice for interacting with web-
based databases.based databases.
►Writing SQL statements are not difficult forWriting SQL statements are not difficult for
most manager’s data needs.most manager’s data needs.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod33
Figure 6.20 SQL CodeFigure 6.20 SQL Code
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod34
Advanced Database ProcessingAdvanced Database Processing
► On-line analytical processing (OLAP)On-line analytical processing (OLAP) allowsallows
data analysis similar to statistical cross-tabulation.data analysis similar to statistical cross-tabulation.
► Data miningData mining,, data martsdata marts, &, & data warehousingdata warehousing
focus on methodologies that offer users quickfocus on methodologies that offer users quick
access to aggregated data specific to theiraccess to aggregated data specific to their
decision-making needs.decision-making needs.
► Knowledge discoveryKnowledge discovery analyzes data usage &analyzes data usage &
data commonality among different tables.data commonality among different tables.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod35
Database PersonnelDatabase Personnel
►Database Administrator (DBA)Database Administrator (DBA) is anis an
expert in developing, providing, andexpert in developing, providing, and
securing databases; duties includesecuring databases; duties include
 Database planning;Database planning;
 Database implementation;Database implementation;
 Database operation;Database operation;
 Database security.Database security.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod36
Database Personnel (Cont’d)Database Personnel (Cont’d)
►Database programmerDatabase programmer writes code towrites code to
strip and/or aggregate data from thestrip and/or aggregate data from the
databasedatabase
 High level of specialization & selectionHigh level of specialization & selection
►End userEnd user generates reports & forms, postgenerates reports & forms, post
queries to the database, & use results fromqueries to the database, & use results from
their database inquiries to make decisionstheir database inquiries to make decisions
that affect the firm & its environmentalthat affect the firm & its environmental
constituents.constituents.
© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod37
DBMSs in PerspectiveDBMSs in Perspective
►DBMS AdvantagesDBMS Advantages
 Reduce data redundancy.Reduce data redundancy.
 Achieve data independence.Achieve data independence.
 Retrieve data & information rapidly.Retrieve data & information rapidly.
 Improve security.Improve security.
►DBMS DisadvantagesDBMS Disadvantages
 Obtain expensive software.Obtain expensive software.
 Obtain a large hardware configuration.Obtain a large hardware configuration.
 Hire and maintain a DBA staff.Hire and maintain a DBA staff.

Mais conteúdo relacionado

Mais procurados

SIM - Mc leod ch09
SIM - Mc leod ch09SIM - Mc leod ch09
SIM - Mc leod ch09Welly Tjoe
 
Kendall_White Resume6
Kendall_White Resume6Kendall_White Resume6
Kendall_White Resume6Kendall White
 
The EMC Isilon Scale-Out Data Lake
The EMC Isilon Scale-Out Data LakeThe EMC Isilon Scale-Out Data Lake
The EMC Isilon Scale-Out Data LakeEMC
 
Benefits of data_archiving_in_data _warehouses
Benefits of data_archiving_in_data _warehousesBenefits of data_archiving_in_data _warehouses
Benefits of data_archiving_in_data _warehousesSurendar Bandi
 
Chapter 6 foundations of business intelligence
Chapter 6 foundations of business intelligenceChapter 6 foundations of business intelligence
Chapter 6 foundations of business intelligenceVan Chau
 
Architecture Framework for Resolution of System Complexity in an Enterprise
Architecture Framework for Resolution of System Complexity in an EnterpriseArchitecture Framework for Resolution of System Complexity in an Enterprise
Architecture Framework for Resolution of System Complexity in an EnterpriseIOSR Journals
 
6 - Foundations of BI: Database & Info Mgmt
6 - Foundations of BI: Database & Info Mgmt6 - Foundations of BI: Database & Info Mgmt
6 - Foundations of BI: Database & Info MgmtHemant Nagwekar
 
White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...
White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...
White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...EMC
 
Introduction to master data services
Introduction to master data servicesIntroduction to master data services
Introduction to master data servicesKlaudiia Jacome
 
4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...
4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...
4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...Donovan Mulder
 
Data warehouse-testing
Data warehouse-testingData warehouse-testing
Data warehouse-testingraianup
 
Scope of Data Integration
Scope of Data IntegrationScope of Data Integration
Scope of Data IntegrationHEXANIKA
 
Chap05 Data Resource Management
Chap05 Data Resource ManagementChap05 Data Resource Management
Chap05 Data Resource ManagementAqib Syed
 
Management Information System (Full Notes)
Management Information System (Full Notes)Management Information System (Full Notes)
Management Information System (Full Notes)Harish Chand
 
PlanningDataCenterFacilities
PlanningDataCenterFacilitiesPlanningDataCenterFacilities
PlanningDataCenterFacilitiesJoseph Kassl
 
BI Architecture in support of data quality
BI Architecture in support of data qualityBI Architecture in support of data quality
BI Architecture in support of data qualityTom Breur
 

Mais procurados (20)

SIM - Mc leod ch09
SIM - Mc leod ch09SIM - Mc leod ch09
SIM - Mc leod ch09
 
Lecture1-IS322(Data&InfoMang-introduction)
Lecture1-IS322(Data&InfoMang-introduction)Lecture1-IS322(Data&InfoMang-introduction)
Lecture1-IS322(Data&InfoMang-introduction)
 
Kendall_White Resume6
Kendall_White Resume6Kendall_White Resume6
Kendall_White Resume6
 
The EMC Isilon Scale-Out Data Lake
The EMC Isilon Scale-Out Data LakeThe EMC Isilon Scale-Out Data Lake
The EMC Isilon Scale-Out Data Lake
 
Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )
 
Benefits of data_archiving_in_data _warehouses
Benefits of data_archiving_in_data _warehousesBenefits of data_archiving_in_data _warehouses
Benefits of data_archiving_in_data _warehouses
 
Chapter 6 foundations of business intelligence
Chapter 6 foundations of business intelligenceChapter 6 foundations of business intelligence
Chapter 6 foundations of business intelligence
 
Architecture Framework for Resolution of System Complexity in an Enterprise
Architecture Framework for Resolution of System Complexity in an EnterpriseArchitecture Framework for Resolution of System Complexity in an Enterprise
Architecture Framework for Resolution of System Complexity in an Enterprise
 
6 - Foundations of BI: Database & Info Mgmt
6 - Foundations of BI: Database & Info Mgmt6 - Foundations of BI: Database & Info Mgmt
6 - Foundations of BI: Database & Info Mgmt
 
White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...
White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...
White Paper: EMC Accelerates Journey to Big Data with Business Analytics as a...
 
Introduction to master data services
Introduction to master data servicesIntroduction to master data services
Introduction to master data services
 
4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...
4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...
4. Expectation And Reality In Erp Implementation Consultant And Solution Prov...
 
ECM-article 2015
ECM-article 2015ECM-article 2015
ECM-article 2015
 
Data warehouse-testing
Data warehouse-testingData warehouse-testing
Data warehouse-testing
 
Scope of Data Integration
Scope of Data IntegrationScope of Data Integration
Scope of Data Integration
 
Chap05 Data Resource Management
Chap05 Data Resource ManagementChap05 Data Resource Management
Chap05 Data Resource Management
 
Management Information System (Full Notes)
Management Information System (Full Notes)Management Information System (Full Notes)
Management Information System (Full Notes)
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
PlanningDataCenterFacilities
PlanningDataCenterFacilitiesPlanningDataCenterFacilities
PlanningDataCenterFacilities
 
BI Architecture in support of data quality
BI Architecture in support of data qualityBI Architecture in support of data quality
BI Architecture in support of data quality
 

Semelhante a Database Management Systems Explained

Session 6 - Data resources and information management.ppt
Session 6 - Data resources and information management.pptSession 6 - Data resources and information management.ppt
Session 6 - Data resources and information management.pptENRIQUE EGLESIAS
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISMIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISSukanya Ben
 
RDBMS, theory class - 1 (UIU CSI 221)
RDBMS, theory class - 1 (UIU CSI 221)RDBMS, theory class - 1 (UIU CSI 221)
RDBMS, theory class - 1 (UIU CSI 221)Muhammad T Q Nafis
 
information systems
information systems information systems
information systems naeem_mnm
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdffikadumola
 

Semelhante a Database Management Systems Explained (20)

Session 6 - Data resources and information management.ppt
Session 6 - Data resources and information management.pptSession 6 - Data resources and information management.ppt
Session 6 - Data resources and information management.ppt
 
MIS chap # 6....
MIS chap # 6....MIS chap # 6....
MIS chap # 6....
 
Mis11e ch06
Mis11e ch06Mis11e ch06
Mis11e ch06
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Database system Handbook.docx
Database system Handbook.docxDatabase system Handbook.docx
Database system Handbook.docx
 
Database systems Handbook 2V.pdf
Database systems Handbook 2V.pdfDatabase systems Handbook 2V.pdf
Database systems Handbook 2V.pdf
 
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISMIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
RDBMS, theory class - 1 (UIU CSI 221)
RDBMS, theory class - 1 (UIU CSI 221)RDBMS, theory class - 1 (UIU CSI 221)
RDBMS, theory class - 1 (UIU CSI 221)
 
information systems
information systems information systems
information systems
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 

Último

Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 

Último (20)

Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 

Database Management Systems Explained

  • 1. © 2007 by Prentice Hall© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod and George SchellManagement Information Systems, 10/e Raymond McLeod and George Schell 11 ManagementManagement Information Systems,Information Systems, 10/e10/e Raymond McLeod and George SchellRaymond McLeod and George Schell
  • 2. © 2007 by Prentice Hall© 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod and George SchellManagement Information Systems, 10/e Raymond McLeod and George Schell 22 Chapter 6Chapter 6 Database Management SystemsDatabase Management Systems
  • 3. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod3 Learning ObjectivesLearning Objectives ► Understand the hierarchy of data.Understand the hierarchy of data. ► Understand database structures and how theyUnderstand database structures and how they work.work. ► Know how to relate tables together in a database.Know how to relate tables together in a database. ► Recognize the difference between a database andRecognize the difference between a database and a database management system.a database management system. ► Understand the database concept.Understand the database concept. ► Know two basic methods for determining dataKnow two basic methods for determining data needs.needs.
  • 4. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod4 Learning Objectives (Cont’d)Learning Objectives (Cont’d) ► Understand entity-relationship diagrams and classUnderstand entity-relationship diagrams and class diagrams.diagrams. ► Know the basics of reports and forms.Know the basics of reports and forms. ► Understand the basic difference betweenUnderstand the basic difference between structured query language and query-by-example.structured query language and query-by-example. ► Know about the important personnel who areKnow about the important personnel who are associated with databases.associated with databases. ► Know the advantages and costs of databaseKnow the advantages and costs of database management systems.management systems.
  • 5. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod5 Data HierarchyData Hierarchy ►Data fieldData field is the smallest unit of data.is the smallest unit of data. ►RecordRecord is a collection of related data fields.is a collection of related data fields. ►FileFile is a collection of related records.is a collection of related records. ►DatabaseDatabase is a collection of related files.is a collection of related files.  General definitionGeneral definition  Restrictive definitionRestrictive definition
  • 6. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod6 DatabaseDatabase ► Table of rows & columns can be represented in aTable of rows & columns can be represented in a spreadsheet.spreadsheet. ► Relational database structureRelational database structure is conceptuallyis conceptually similar to a collection of related tables.similar to a collection of related tables. ► Flat fileFlat file is a table that does not have repeatingis a table that does not have repeating columns; 1columns; 1stst normal form.normal form. ► NormalizationNormalization is a formal process for eliminatingis a formal process for eliminating redundant data fields which preserving the abilityredundant data fields which preserving the ability of the database to add, delete, and modify recordsof the database to add, delete, and modify records without causing errors.without causing errors.
  • 7. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod7 Figure 6.1 Spreadsheet as a SimpleFigure 6.1 Spreadsheet as a Simple DatabaseDatabase
  • 8. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod8 Database (Cont’d)Database (Cont’d) ► KeyKey in a table is a field (or combination of fields)in a table is a field (or combination of fields) that contain a value that uniquely identifies eachthat contain a value that uniquely identifies each record in the table.record in the table. ► Candidate keyCandidate key is a field that uniquely identifiesis a field that uniquely identifies each table row but is not the chosen key.each table row but is not the chosen key. ► Relating tables is done through sharing a commonRelating tables is done through sharing a common field & the value of the field determines which rowsfield & the value of the field determines which rows in the tables are logically joined.in the tables are logically joined.
  • 9. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod9 Database Management SystemDatabase Management System ►Database management systemDatabase management system (DBMS)(DBMS) is a software application thatis a software application that stores the structure of the database, thestores the structure of the database, the data itself, relationships among data in thedata itself, relationships among data in the database, and forms & reports pertaining todatabase, and forms & reports pertaining to the database.the database.  Self-describing set of related data.Self-describing set of related data.
  • 10. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod10 Database StructuresDatabase Structures ►HierarchicalHierarchical is formed by data groups,is formed by data groups, subgroups, and further subgroups; likesubgroups, and further subgroups; like branches on a tree.branches on a tree.  Worked well with TPSs.Worked well with TPSs.  Utilized computer resources efficiently.Utilized computer resources efficiently. ►NetworkNetwork allows retrieval of specificallows retrieval of specific records; allows a given record to point torecords; allows a given record to point to any other record in the database.any other record in the database.
  • 11. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod11 Figure 6.2 Hierarchical StructureFigure 6.2 Hierarchical Structure
  • 12. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod12 Database Structures (Cont’d)Database Structures (Cont’d) ►RelationalRelational is when the relationshipis when the relationship between tables are implicit.between tables are implicit. ►Physical relationshipPhysical relationship is when theis when the database structure (hierarchical, network)database structure (hierarchical, network) rely on storage addresses.rely on storage addresses. ►Implicit relationshipImplicit relationship is when theis when the database structure (relational) can bedatabase structure (relational) can be implied from the data.implied from the data.
  • 13. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod13 A Relational Database ExampleA Relational Database Example ►A database namedA database named ScheduleSchedule has been createdhas been created from tables used earlier in the chapter and somefrom tables used earlier in the chapter and some othersothers ►The database is implemented in MicrosoftThe database is implemented in Microsoft Access 2002 (also known as Access XP).Access 2002 (also known as Access XP). ►Databases break information into multiple tablesDatabases break information into multiple tables because if information were stored in a singlebecause if information were stored in a single table, many data field values would betable, many data field values would be duplicated.duplicated.
  • 14. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod14 ScheduleSchedule DatabaseDatabase ► The example is implemented on Microsoft Access DBMS butThe example is implemented on Microsoft Access DBMS but would be similar on any relational DBMS product.would be similar on any relational DBMS product. ► The COURSE table in Access (Figure 6.4) is a list of data fieldThe COURSE table in Access (Figure 6.4) is a list of data field values. The table itself had to be defined in Access before valuesvalues. The table itself had to be defined in Access before values were entered into the data fields.were entered into the data fields. ► Figure 6.5 shows the definition of theFigure 6.5 shows the definition of the CodeCode field.field. ► Figure 6.6 illustrates thatFigure 6.6 illustrates that AbbreviationAbbreviation field values will befield values will be looked up from a list of values in the DEPARTMENT table.looked up from a list of values in the DEPARTMENT table. ► Table 6.7 shows a single table of course and department fieldsTable 6.7 shows a single table of course and department fields before they were separated into different tables.before they were separated into different tables.
  • 15. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod15 Figure 6.4 The COURSE TableFigure 6.4 The COURSE Table
  • 16. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod16 Figure 6.5 Defining the CODE FieldFigure 6.5 Defining the CODE Field
  • 17. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod17 Figure 6.6 Look-up ValuesFigure 6.6 Look-up Values
  • 18. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod18 Table 6.7Table 6.7
  • 19. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod19 Figure 6.7 Access ViewFigure 6.7 Access View
  • 20. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod20 Database ConceptDatabase Concept ► Database conceptDatabase concept is the logical integration ofis the logical integration of records across multiple physical locations.records across multiple physical locations. ► Data independenceData independence is the ability to makeis the ability to make changes in the data structure without makingchanges in the data structure without making changes to the application programs that accesschanges to the application programs that access the data.the data. ► Data dictionaryData dictionary includes the definition of theincludes the definition of the data stored within the database & controlled by thedata stored within the database & controlled by the database management system.database management system.
  • 21. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod21 Creating a DatabaseCreating a Database ►Determine data that needs to be collected &Determine data that needs to be collected & stored is a key step.stored is a key step. ►Process-oriented approachProcess-oriented approach  Define the problem.Define the problem.  Identify necessary decisions.Identify necessary decisions.  Describe information needs.Describe information needs.  Determine the necessary processing.Determine the necessary processing.  Specify data needs.Specify data needs.
  • 22. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod22 Determine Data Needs (Cont’d)Determine Data Needs (Cont’d) ►Enterprise modeling approachEnterprise modeling approach takes atakes a broad view of the firm’s data resources; allbroad view of the firm’s data resources; all areas are considered, & synergy of dataareas are considered, & synergy of data resources between business areas can beresources between business areas can be leveraged.leveraged.  Result:Result: Enterprise data modelEnterprise data model
  • 23. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod23 Figure 6.8 Enterprise Data ModelFigure 6.8 Enterprise Data Model
  • 24. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod24 Data Modeling TechniquesData Modeling Techniques ►Entity-relationship diagrams (ERDs)Entity-relationship diagrams (ERDs) is a graphical representation of data inis a graphical representation of data in entities and the relationships betweenentities and the relationships between entities.entities. ►EntityEntity is a conceptual collection of relatedis a conceptual collection of related data fields.data fields. ►RelationshipRelationship is defined between entities.is defined between entities.  One-to-one – 1:1One-to-one – 1:1  One-to-many – 1:MOne-to-many – 1:M  Many-to-many – M:NMany-to-many – M:N
  • 25. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod25 Figure 6.11 Entity-relationshipFigure 6.11 Entity-relationship DiagramDiagram
  • 26. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod26 Diagramming Techniques (Cont’d)Diagramming Techniques (Cont’d) ►Class DiagramClass Diagram is a graphicalis a graphical representation of both the data used in anrepresentation of both the data used in an application and the actions associated withapplication and the actions associated with the data; object-oriented design modelthe data; object-oriented design model ►ObjectsObjects are the data, actions taken on theare the data, actions taken on the data, & relationship between objects.data, & relationship between objects. ►Class diagrams consist of the named class,Class diagrams consist of the named class, fields in the class, & actions (fields in the class, & actions (methodsmethods) that) that act upon the class.act upon the class.
  • 27. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod27 Figure 6.13 Class DiagramFigure 6.13 Class Diagram
  • 28. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod28 Using the DatabaseUsing the Database ►FormsForms show 1 record at a time & can beshow 1 record at a time & can be used to add, delete, or modify databaseused to add, delete, or modify database records.records.  NavigationNavigation  AccuracyAccuracy  ConsistencyConsistency  FilteringFiltering  subformssubforms
  • 29. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod29 Figure 6.15 Combined Data EntryFigure 6.15 Combined Data Entry FormForm
  • 30. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod30 Using the Database (Cont’d)Using the Database (Cont’d) ►ReportsReports are aggregated data from theare aggregated data from the database that are formatted in a mannerdatabase that are formatted in a manner that aids decision making.that aids decision making. ►QueriesQueries is a request for the database tois a request for the database to display selected records.display selected records. ►Query-by-example (QBE)Query-by-example (QBE) presents apresents a standardized form that the user completesstandardized form that the user completes so the system can generate a true query.so the system can generate a true query.
  • 31. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod31 Figure 6.16 Report of DepartmentsFigure 6.16 Report of Departments
  • 32. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod32 Structured Query LanguageStructured Query Language ►Structured query language (SQL)Structured query language (SQL) isis the code that RDBMSs use to perform theirthe code that RDBMSs use to perform their database tasks.database tasks. ►Method of choice for interacting with web-Method of choice for interacting with web- based databases.based databases. ►Writing SQL statements are not difficult forWriting SQL statements are not difficult for most manager’s data needs.most manager’s data needs.
  • 33. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod33 Figure 6.20 SQL CodeFigure 6.20 SQL Code
  • 34. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod34 Advanced Database ProcessingAdvanced Database Processing ► On-line analytical processing (OLAP)On-line analytical processing (OLAP) allowsallows data analysis similar to statistical cross-tabulation.data analysis similar to statistical cross-tabulation. ► Data miningData mining,, data martsdata marts, &, & data warehousingdata warehousing focus on methodologies that offer users quickfocus on methodologies that offer users quick access to aggregated data specific to theiraccess to aggregated data specific to their decision-making needs.decision-making needs. ► Knowledge discoveryKnowledge discovery analyzes data usage &analyzes data usage & data commonality among different tables.data commonality among different tables.
  • 35. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod35 Database PersonnelDatabase Personnel ►Database Administrator (DBA)Database Administrator (DBA) is anis an expert in developing, providing, andexpert in developing, providing, and securing databases; duties includesecuring databases; duties include  Database planning;Database planning;  Database implementation;Database implementation;  Database operation;Database operation;  Database security.Database security.
  • 36. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod36 Database Personnel (Cont’d)Database Personnel (Cont’d) ►Database programmerDatabase programmer writes code towrites code to strip and/or aggregate data from thestrip and/or aggregate data from the databasedatabase  High level of specialization & selectionHigh level of specialization & selection ►End userEnd user generates reports & forms, postgenerates reports & forms, post queries to the database, & use results fromqueries to the database, & use results from their database inquiries to make decisionstheir database inquiries to make decisions that affect the firm & its environmentalthat affect the firm & its environmental constituents.constituents.
  • 37. © 2007 by Prentice Hall Management Information Systems, 10/e Raymond McLeod37 DBMSs in PerspectiveDBMSs in Perspective ►DBMS AdvantagesDBMS Advantages  Reduce data redundancy.Reduce data redundancy.  Achieve data independence.Achieve data independence.  Retrieve data & information rapidly.Retrieve data & information rapidly.  Improve security.Improve security. ►DBMS DisadvantagesDBMS Disadvantages  Obtain expensive software.Obtain expensive software.  Obtain a large hardware configuration.Obtain a large hardware configuration.  Hire and maintain a DBA staff.Hire and maintain a DBA staff.