13
Understand database tables used in Understand database tables used in business. business. Database Database Fundamentals Fundamentals

Understand database tables used in business. Database Fundamentals

Embed Size (px)

Citation preview

Page 1: Understand database tables used in business. Database Fundamentals

Understand database tables used in business.Understand database tables used in business.

Database FundamentalsDatabase Fundamentals

Page 2: Understand database tables used in business. Database Fundamentals

5.01 Understand database tables used in business Slide 2

►A database is a tool for A database is a tool for organizing, storing, retrieving, organizing, storing, retrieving, and communicating groups of and communicating groups of information that have similar information that have similar characteristics characteristics

What is a database?What is a database?

Page 3: Understand database tables used in business. Database Fundamentals

5.01 Understand database tables used in business Slide 3

Examples of Business Examples of Business DatabasesDatabases

►Telephone bookTelephone book►Student dataStudent data►MusicMusic►Fingerprint databaseFingerprint database►Dictionaries Dictionaries

► Customer dataCustomer data► Real estate listingsReal estate listings

MLS listings onlineMLS listings online► Hospital/patient dataHospital/patient data► InventoryInventory

Barcode scanner keeps Barcode scanner keeps inventory in databaseinventory in database

Page 4: Understand database tables used in business. Database Fundamentals

5.01 Understand database tables used in business Slide 4

What makes a database?What makes a database?Databases consist of four objects:Databases consist of four objects:

1.1. Tables Tables store data in rows and columns*

2.2. Queries Queries retrieve and process data

3.3. Forms Forms control data entry and data views

Customized manner of inputting data into a database or presenting data on a screen

4.4. Reports Reports summarize and print data

*In this objective, our focus is on tables

Page 5: Understand database tables used in business. Database Fundamentals

5.01 Understand database tables used in business Slide 5

Tables: the Building Blocks Tables: the Building Blocks of all Databasesof all Databases

•Tables organize data

•Each database consists of one or more tables

► Tables store data, so they’re essential building blocks of any database.

► All databases contain at least one table

► A database should have a separate table for every major subject, such as for employee records or customer orders. Data should not be duplicated in multiple tables.

► Tables contain Rows called Records and Columns called Fields.

Page 6: Understand database tables used in business. Database Fundamentals

5.01 Understand database tables used in business Slide 6

Components of a Database Table Components of a Database Table

► RecordRecord – A group of related fields of information. – A group of related fields of information. Everything on one row is a recordEverything on one row is a record

► FieldField – One item or bit of information in a record; – One item or bit of information in a record; represented by a represented by a COLUMNCOLUMN. Comprised of entries. Comprised of entries

► EntryEntry – Data typed into a field. Made up of – Data typed into a field. Made up of characters. Example: John Doe is an entry in the characters. Example: John Doe is an entry in the name field. Also known as data.name field. Also known as data.

Page 7: Understand database tables used in business. Database Fundamentals

5.01 Understand database tables used in business Slide 7

Database Tables: The Big Database Tables: The Big PicturePicture

To calculate the number of entries in a database multiply the number of fields by the number of records. Ex. 5*26= 130 entries in this database.

3. Cells - ENTRIES

1. Rows – RECORDS 2. Columns - FIELDS

1. Records

3. Entry

2. Fields

Page 8: Understand database tables used in business. Database Fundamentals

DiscussionDiscussion

► NameName► Birth dateBirth date► Social Security No.Social Security No.► StreetStreet► CityCity► StateState► ZipZip► PhonePhone

Each item on the left Each item on the left is classified as a/an:is classified as a/an:

a)a) TableTable

b)b) RecordRecord

c)c) FieldField

d)d) EntryEntry

5.01 Understand database tables used in business Slide 8

Page 9: Understand database tables used in business. Database Fundamentals

DiscussionDiscussion

► Susan AlmondSusan Almond► 10/22/198510/22/1985► 245-88-9845245-88-9845► 31 Bessemer St.31 Bessemer St.► GreensboroGreensboro► NCNC► 2523325233► 336-585-5646336-585-5646

Each item on the left Each item on the left is classified as a/an:is classified as a/an:

a)a) TableTable

b)b) RecordRecord

c)c) FieldField

d)d) EntryEntry

5.01 Understand database tables used in business Slide 9

Page 10: Understand database tables used in business. Database Fundamentals

DiscussionDiscussion

► Susan AlmondSusan Almond► 10/22/198510/22/1985► 245-88-9845245-88-9845► 31 Bessemer St.31 Bessemer St.► GreensboroGreensboro► NCNC► 2523325233► 336-585-5646336-585-5646

All of the information All of the information about Susan Almond about Susan Almond is classified as a/an:is classified as a/an:

a)a) TableTable

b)b) RecordRecord

c)c) FieldField

d)d) EntryEntry

5.01 Understand database tables used in business Slide 10

Page 11: Understand database tables used in business. Database Fundamentals

DiscussionDiscussion

► Information about multiple employees is Information about multiple employees is classified as a/an:classified as a/an:

a)a) TableTable

b)b) RecordRecord

c)c) FieldField

d)d) EntryEntry

5.01 Understand database tables used in business Slide 11

Page 12: Understand database tables used in business. Database Fundamentals

Susan’s RecordSusan’s Record

5.01 Understand database tables used in business Slide 12

Name Bday SS Street City St Zip Phone

Almond, Susan

10/22/1985

245-88-9845

31 Bessemer St

Greensboro

NC 25233

336-585-5646

One record is displayed from the Employee Table above. The table contains 8 fields.

Page 13: Understand database tables used in business. Database Fundamentals

Test your knowledgeTest your knowledge

► Using the last page of the Database Using the last page of the Database Fundamentals graphic organizer, classify Fundamentals graphic organizer, classify each database component.each database component.

5.01 Understand database tables used in business Slide 13