datainformationknowledgeaction data – a collection of facts made up of text, numbers and dates:...

20
Databases 23 November 2010

Post on 19-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Databases

23 November 2010

Page 2: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Transformation

Data Information Knowledge Action

Page 3: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Data vs. Information

Data – a collection of facts made up of text, numbers and dates:

Murray 35000 7/18/86

Information - the meaning given to data in the way it is interpreted:

Mr. Murray is a sales person whose annual salary is $35,000 and whose hire date is July 18, 1986.

Page 4: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Differences

Data› Unprocessed

Information› Organized and communicated

Knowledge› Evaluated and usable

Page 5: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

What is a database?

storage space for information

Page 6: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Non-electronic Examples

A filing cabinet,

an address book,

a telephone directory,

a timetable, etc.

Page 7: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Electronic Database Systems: Then

Page 8: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Now

From Friendster.com on-line tour

Page 10: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Benefits

Making information useful

Making information easily accessible

Integrating information

Page 11: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Basic Database Concepts

Name: Barry HarrisCollege: BusinessTel: 962-5555

Name: Barry HarrisCollege: BusinessTel: 962-5555

Name: Barry Harris Field

Record–A collection of data

about an individual item

–A single item of data common to all records

Table–A set of related records

Page 12: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Fields

Basic elements of content

Page 13: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

An Example of a Table

Records

Fields

Name email Phone College

Graff rgraff 962-3900 Pharmacy

Harris bharris 962-5555 Business

Ipswich zipswich 933-5656 Journalism

Page 14: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Primary Keys & Foreign Keys

To ensure that each record is unique in each table, we can set one field to be a Primary Key field.

A Primary Key is a field that that will contain no duplicates and no blank values.

Foreign Keys link to data in other tables

Name email Phone College

Graff rgraff 962-3900 Pharmacy

Harris bharris 962-5555 Business

Ipswich zipswich 933-5656 Journalism

Page 15: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

A Sample Relational Database

Page 16: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Other parts of a database

Tables

Forms

Queries

Reports

Page 17: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Forms A friendlier view of the database Used for data input, display and

printing

Page 18: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Queries

A means of asking questions (querying) of your data

Can look across tables

Page 19: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Reports If the query is a

question... ...then the report is

its answer Tailored to the

needs of the user Allows you to group

and summarize data

Cannot edit

Page 20: DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86  Information - the meaning given

Databases in Spreadsheets

Can be done› Example

BUT other tools exist to make it easier› User not need to understand as much› Handles routine operations