0% found this document useful (0 votes)
235 views4 pages

Chou, George Tsu-Der, Dbase III Plus Handbook, 2 Edition, Page 3

Databases are used to store and organize information electronically in a structured format, replacing physical filing systems. A database contains different types of data, including alphanumeric data like names and numbers, and numeric data that can be used for computations. To reduce redundancy and improve data flow, databases are normalized by removing repeating elements and groups, eliminating partial dependencies on keys, and removing non-key attribute dependencies. The three normal forms are first normal form, second normal form, and third normal form.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
235 views4 pages

Chou, George Tsu-Der, Dbase III Plus Handbook, 2 Edition, Page 3

Databases are used to store and organize information electronically in a structured format, replacing physical filing systems. A database contains different types of data, including alphanumeric data like names and numbers, and numeric data that can be used for computations. To reduce redundancy and improve data flow, databases are normalized by removing repeating elements and groups, eliminating partial dependencies on keys, and removing non-key attribute dependencies. The three normal forms are first normal form, second normal form, and third normal form.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

DATABASE CONCEPTS

Databases are used as replacement for the physical equipments we have in an


organization such as folders, envelops, and file cabinets, which contains bulk of papers and
data placed on them for future use. These databases are considered as electronic storage that
utilizes computer memory storing capabilities and that the data/information will be stored and
retrieved with the aid of programmed system.

Database is defined as a collection of useful information organized in a specific manner.

For instance, you can view a personal telephone directory as a database. This telephone
directory is a listing of names and telephone numbers arranged randomly – arranged. That is,
in the order in which they were entered. However, you can organize these telephone numbers
in a specific order or form according to your preference. For example, you can group the
entries by area codes and alphabetically by last name within each area-code group.

There are different types of data in a database. Data can be classified into main
categories, alphanumeric and numeric, depending on the nature of the information and how it
will be used.

Alphanumeric data consists of alphabetic characters (letters A through Z), numerals (0


through 9), and some special symbols (such as # and $).
1

1
Chou, George Tsu-der, Dbase III Plus Handbook, 2nd Edition, page 3
For instance, the model number of a television set, RCS-XA100, is an alphanumeric
data. Names, account numbers, and employee identifications numbers are other examples of
alphanumeric data.2

Numeric data can be quantified and is represented by the set of numeric digits.

In a payroll database, the number of hours worked by an employee (for example, 38.5
hours) is an example of numeric data. The number of students in a class, the credit limit for a
customer, and the level of inventory for a given item are other examples of numeric data.

Although the alphanumeric and numeric data are stored in a database, the two types play
different roles in their applications. Numeric data is used for computations. Alphanumeric
data, on the other hand, can be used only as text for identification or labelling purpose;
alphanumeric data cannot be used in formula. For instance, if you use the set f digits 83024 as
an alphanumeric string that represents the identification number of an employee, the string is
treated only as label. The string may resemble a numeric value, but cannot be used in a
formula.

Database data need to be normalized in order to avoid data redundancy and easy flow of
data as it is being used.

Normalization is the transformation of complex user views and data stores to a set of
smaller stable data structures. In addition to being simpler and more stable, normalized data
structures are more easily maintained than other data structures.

The main objective of the normalization process is to simplify all complex data items
that are often found in user views. These are three steps in normalizing a relation.

These steps are as follows: First normal Form (1NF), which is to remove the repeating
groups; Second Normal Form (2NF), in which all the attributes will be functionally dependent
on the primary key; and Third Normal Form (3NF), that is if all the nonkey attributes are fully
functionally dependent on the primary key and there are no transitive (nonkey) dependencies.

Memorize the 3 normal forms so that you can recite them in your sleep, no repeating
elements or groups of elements; no partial dependencies on concatenated key; no dependencies
on non-key attributes.

First Normal Form: No Repeating Elements or Groups of Elements

Example:

orders order_items
2
Kendal, Kenneth E., Kendall, Julie E., Systems Analysis and Design, 5th edition, page
598
order_id {PK} order_id {PK}
order_date item_id {PK}
customer_id item_desription
customer_name item_quantity
customer_address item_price
customer_city item_total_price
customer_state
order_total_price

Second Normal Form: No Partial Dependencies on a Concatenated Key

Example:

orders order_items items

order_id {PK} order_id {PK} items_id {PK}


order_date item_id {PK} item_description
customer_id item_qty
customer_name item_total_price
customer_addre
ss
cutomer_city : No Dependencies on Non-Key Attributes
customer_state

3
http://www.phlonx.com/resources/nf3.php
orders order_items items

order_id {PK} order_id {PK} items_id {PK}


order_date item_id {PK} item_description
customer_id item_qty
customer_address item_total_price
customer_city
customer_state

customers

customer_id
{PK}
customer_name
customer_address
customer_city
4

4
http://www.phlonx.com/resources/nf3.php

You might also like