Professional Documents
Culture Documents
Chapter1 PDF
Chapter1 PDF
Objective:
In this lesson, you will learn about database concepts, define and understand database
management.
Database Management
Database Concepts
A database is a collection of related information about a subject organized in a useful manner. It also
provides a base or foundation for procedures such as retrieving information, drawing conclusions, and
making decisions. Information in database is organized and stored in a table with rows and columns, as
shown below.
Product Code
1002
1001
1004
1003
1005
Product Description
Mouse
Keyboard
Printer
UPS
Processor
Unit Cost
250.00
450.00
5,350.00
2,500.00
6,500.00
Quantity
30
25
10
15
5
Delivery Date
09-12-07
09-28-07
10-02-07
10-05-07
10-10-07
A record is a collection of data for a specific object or table. Sometimes, records are referred to as rows
within the table or database.
A field refers to the basic building block of any database, relational or not. The separate item of
information in a record (for example, the Product Code) is called a field. A field object represents a
column of data with a common data type and a common set of properties.
Data are known facts that could be recorded and stored on a computer media.
Types of Database
Type of Database
Personal
Workgroup
Department
Enterprise
Web/Internet
Number of User
1
5-25
25-100
>100
>1000
Typical Size
MB
MB-GB
GB
GB-TB
GB-TB
Database Application
It is an application program that is used to perform series of activities on behalf of database users. A
database application should be able to:
It allows you to create database structures containing fields, tables, and table relationships.
It lets you easily add new records, change field values in existing records, and delete records.
It contains a built-in report query language, which lets you obtain immediate answers to
questions you ask about your data.
It contains a built-in report generator, which lets you produce professional-looking formatted
reports from your data.
It provides protection of database through security, control, and recovery facilities.
Lesson 2
WHY DO I NEED A DATABASE?
A Guide to Designing Your Database
Good database design ensures that your database is easy to maintain. You store data in tables
and each table contains data about only one subject. Therefore, you update a particular piece
of data, such as an address, in just one place and that change automatically appears all
through the database.
Don't add the field to a table if it will result in the same information appearing in
multiple records in that table. If you determine that a field in a table will contain a lot of
duplicate information, that field is probably in the wrong table.
When each piece of information is stored only once, you update it in one place. This is
more efficient, and it also eliminates the possibility of duplicate entries that contain
different information.
relational model. Its basic goal is to remove redundant data from the database so that it is
made more flexible.
Normalization involves the following processes:
Ensure that each tables fields are uniquely identified by the tables primary key.
Ensure that each field represents a single piece of information. Do not store both City
and State in the same field, for instance.
Remove redundant data from the tables.
Remove repeating group fields if theres a possibility that more fields will be added to
the group.