Professional Documents
Culture Documents
Chapter 04 Database Systems and Excel Tools
Chapter 04 Database Systems and Excel Tools
Chapter 04 Database Systems and Excel Tools
Data Integration. Master files are combined into large “pools” of data that many application programs access.
Data Sharing. Integrated data are more easily shared with authorized users. Databases are easily browsed to
research a problem or obtain detailed information underlying a report.
Minimal Data Redundancy and Data Inconsistencies. Because data items are usually stored only once, data
redundancy and data inconsistencies are minimized.
Data Independence. Because data and programs that use them are independent of each other, each can be
changed without changing the other. This facilitates programming and simplifies data management.
Cross-Functional Analysis. In a database system, relationships, such as association between selling costs and
promotional campaigns, can be explicitly defined and used in the preparation of management reports.
DATABASE SYSTEMS – LOGICAL AND
PHYSICAL VIEWS OF DATA
A record layout is a document that shows the Database systems provides two
items stored in a file, including the order and separate groups of data:
length of the data fields and type of data stored.
The logical view is how people conceptually
organize and understand relationships among data
The physical view refers to the way data are
physically arranged and stored in the computer
system.
DATABASE LOGICAL VIEW AND PHYSICAL
VIEW OF ACCOUNTS RECEIVABLE
DATABASE SYSTEMS - SCHEMA
• Schema is a description of data elements in a
database, the relationships among them, and the
logical model used to organize and describe the data.
• Levels of Schema
• Conceptual-level schema is the organization-
wide view of the entire database, list all data
elements and the relationships among them.
• External-level schema is an individual user’s
view of proportions of a database, each of which
is referred to as a subschema.
• Internal-level schema is a low-level view of the
database, describes how the data are stored and
accessed, including record layouts, definitions,
addresses, and indexes.
• A subschema is a subset of the schema; the way the
user defines the data and the data relationships.
THREE
LEVELS OF
SCHEMA
THE DATA DICTIONARY AND DBMS
LANGUAGES
• A data dictionary contains information about the structure of the
database.
• Outputs include reports for the following:
• Programs or reports using a data item.
• Synonyms for a related data in the file.
• Data elements used by the user.
• Data Definition Language builds the data dictionary, creates the
database, describes the logical views, and specifies record or field
security constraints.
• Data Manipulation Language changes the database content, including
data element creations, updates, insertions, and definitions.
• Data Query Language is a high-level, English-like language that
contains powerful, easy-to-use commands that enable users to
retrieve, sort, order, and display data.
• Report writer – DBMS language that simplifies report creation.
SO WHERE WILL EXCEL COME IN?
WHAT WILL BE OUR TASK AS
ACCOUNTANTS?
FROM THIS POINT ONWARD IS A PART OF YOUR NOTES BE SURE TO READ THIS
BEFORE TAKING THE QUIZ..
01 02 03
Data models are an Relational data model is a Tuple – a row in a table
abstract representation of two-dimensional table that contains data about a
database contents. representation of data, specific item in a database
each row represents a table.
unique entity and each
column is a field where
record attributes are stored.
TYPES OF
ATTRIBUTES
• A primary key is the database
attribute, or combination of
attributes, that uniquely
identifies a specific row in a
table.
• All non-key attributes in a table must describe a characteristic of the objective identified by the primary
key.
• Referential integrity rule is foreign keys which link rows in one table to rows in another table must have values that
correspond to the value of a primary key in another table.
TWO APPROACHES TO DATABASE DESIGN