Download Databases

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

IMDb wikipedia , lookup

Concurrency control wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Ingres (database) wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Database wikipedia , lookup

Functional Database Model wikipedia , lookup

Clusterpoint wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Relational model wikipedia , lookup

ContactPoint wikipedia , lookup

Database model wikipedia , lookup

Transcript
Objective 5.01: Understand database
tables used in business
A database is a tool used to
organize, store, retrieve,
and communicate (report
on) groups of related
information.
Sli
de
2
• Business stock
book
inventory
 Online library card catalog
• Barcode scanner
◦ Media Center information
keeps inventory in
◦ Encyclopedias
◦ Dictionaries
database
 eBay and other online
• Real estate listings
businesses
• MLS listings online
◦ Inventory
• Fingerprint database
 Telephone
◦ Keep track of customers,
products, vendors, pay pal
accounts
Sli
de
3

Payroll data
◦ Employee names
◦ Employee Social
Security numbers
◦ Pay rates
◦ Exemptions
Hospital/patient data
 Internet search engines
databases
 iTunes

◦ Music
 Personal
address book
 Student data
(NCWISE),
such as Student ID #’s
Sli
de
4
A
database is a tool used by businesses
to manage the huge amount of data
required to run the business.
◦ For example, a business may use several
databases to keep track of employee
information, customers, products, and prices
of products.
◦ All of the information can be easily and
efficiently managed and shared by database
software.
Sli
de
5
Databases consist of 4 main Objects:
1.
Tables - store data in rows and columns
2.
Queries - retrieve and process data
3.
Forms - control data entry and data views
A form is a customized manner of inputting data
into a database or presenting data on a screen.
4.
Reports - summarize and print data
Sli
de
6
Tables store data, so they are the
essential building blocks
of all databases.
Tables--are used to group
and organize the
information within a database.
All databases contain at least one
table.
◦ Each database usually consists of one or more tables.
Sli
de
7
All databases should have a separate
table for every major
subject, such as
employee records or
customer orders.
Tables organize data.
Data should not be duplicated in
multiple tables.
Sli
de
8
1. A Table is an arrangement of columns and
rows.
• A Table is the fundamental building block
of all databases.
• In a Database Table:
•
Rows called Records
•
Columns called Fields
Sli
de
9
2. An Entry is a single piece of data in a database table.
•
Data is made up of characters.
•
Data is typed into a Field
as an entry.
•
Example:
•
Beverages is an entry in the
Category Name field.
Sli
de
10
3. A Field is a grouping or category of similar
information contained in a table.
•
A Field is represented by a COLUMN.
• It is comprised of entries.
•
A Field is a unique identifier
for a category of information.
•
It is one item or bit of
information in a record.
Sli
de
11
4. A Record is a complete description of all of the fields
related to one item in a table.
•
A Record – A group of related fields of
information.
•
Everything on one row
is a record.
•
A Record is a single piece
of data in a database table.
Sli
de
12
Database Tables: The Big Picture
1. Table
2. Entries
3. Field
4. Record
4. RECORDS (rows)
3. FIELDS (columns)
2. ENTRIES
(cells)
To calculate the number of entries in a database--multiply the number of fields
by the number of records.
Ex. 5 fields(columns)*26 rows (records) = 130 entries in this database.
Sli
de
13








Name
Birth date
Social Security No.
Street
City
State
Zip
Phone
Each item on the left
is classified as a/an:
a) Table
b) Record
c) Field
d) Entry
Sli
de
14








Susan Almond
10/22/1985
245-88-9845
31 Bessemer St.
Greensboro
NC
25233
336-585-5646
Each item on the left
is classified as a/an:
a) Table
b) Record
c) Field
d) Entry
Sli
de
15








Susan Almond
10/22/1985
245-88-9845
31 Bessemer St.
Greensboro
NC
25233
336-585-5646
All of the information
about Susan Almond
is classified as a/an:
a) Table
b) Record
c) Field
d) Entry
Sli
de
16

Information about multiple employees is
classified as a/an:
a) Table
b) Record
c) Field
d) Entry
Sli
de
17
Name
Bday
Almond 10/22/
, Susan 1985
SS
245889845
Street
31
Bessemer
St
City
St
Zip
Greensbor NC 2523
o
3
Phone
3365855646
One record is displayed from the Employee Table
above. The table contains 8 fields.
Sli
de
18