Databases

20
Databases 23 November 2010

description

Databases. 23 November 2010. Transformation. 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: - PowerPoint PPT Presentation

Transcript of Databases

Page 1: Databases

Databases

23 November 2010

Page 2: Databases

Transformation

Data Information Knowledge Action

Page 3: Databases

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: Databases

Differences

Data› Unprocessed

Information› Organized and communicated

Knowledge› Evaluated and usable

Page 5: Databases

What is a database?

storage space for information

Page 6: Databases

Non-electronic Examples

A filing cabinet,

an address book,

a telephone directory,

a timetable, etc.

Page 7: Databases

Electronic Database Systems: Then

Page 8: Databases

Now

From Friendster.com on-line tour

Page 10: Databases

Benefits

Making information useful

Making information easily accessible

Integrating information

Page 11: Databases

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: Databases

Fields

Basic elements of content

Page 13: Databases

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: Databases

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: Databases

A Sample Relational Database

Page 16: Databases

Other parts of a database

Tables

Forms

Queries

Reports

Page 17: Databases

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

printing

Page 18: Databases

Queries

A means of asking questions (querying) of your data

Can look across tables

Page 19: Databases

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: Databases

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