Professional Documents
Culture Documents
Intelligence: Databases
and\Information Managementq
A computer system organizes data in a hierarchy
that starts with bits and bytes and progresses to
fields, records, files, and databases
Managing Data in a Traditional File
Environment
File organization concepts
Database: Group of related files
File: Group of records of same type
Record: Group of related fields
Field: Group of characters as word(s) or number
Describes an entity (person, place, thing on which we
store information)
Attribute: Each characteristic, or quality, describing
entity
Example: Attributes DATE or GRADE belong to entity COURSE
THE DATA HIERARCHY
Managing Data in a Traditional File
Environment
Problems with the traditional file environment (files
maintained separately by different departments)
Data redundancy:
Presence of duplicate data in multiple files
Data inconsistency:
Same attribute has different values
Program-data dependence:
When changes in program requires changes to data
accessed by program (One program might be modified
from a five-digit to a nine-digit ZIP code.)
Lack of flexibility (cannot deliver ad hoc reports )
FIGURE 6-5 The select, join, and project operations enable data from two different tables to be combined and only
selected attributes to be displayed.
Capabilities of Database Management Systems
Data definition capability: Specifies structure of
database content, used to create tables and
define characteristics of fields
FIGURE 6-6 Microsoft Access has a rudimentary data dictionary capability that displays information about the size, format,
and other characteristics of each field in a database. Displayed here is the information maintained in the
SUPPLIER table. The small key icon to the left of Supplier_Number indicates that it is a key field.
EXAMPLE OF AN SQL QUERY
FIGURE 6-7 Illustrated here are the SQL statements for a query to select suppliers for parts 137 or 150. They produce a list
with the same results as Figure 6-5.
USING DATABASES TO IMPROVE
BUSINESS PERFORMANCE AND
DECISION MAKING
Why Businesses need databases
To keep track of basic transactions
Paying suppliers,
Processing orders,
Keeping track of customers, and
Paying employees
To provide information
Help the company run the business
more efficiently
Help managers and employees make
better decisions
for example,
if a house is purchased, a new refrigerator will be
purchased within two weeks 65 percent of the
time, and
an oven will be bought within one month of the
home purchase 45 percent of the time.
Classification recognizes patterns that describe
the group to which an item belongs by
examining existing items.
For example,
businesses such as credit card or telephone
companies worry about the loss of steady
customers. Classification helps discover the
characteristics of customers who are likely to
leave
Clustering works in a manner similar to
classification when no groups have yet
been defined.
FIGURE 6-14 Users access an organizations internal database through the Web using their desktop PCs and Web browser
software.