220 likes | 473 Views
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:
E N D
Databases 23 November 2010
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.
Data Unprocessed Information Organized and communicated Knowledge Evaluated and usable Differences
What is a database? storage space for information
Non-electronic Examples A filing cabinet, an address book, a telephone directory, a timetable, etc.
Now From Friendster.com on-line tour
Benefits • Making information useful • Making information easily accessible • Integrating information
Name: Barry HarrisCollege: BusinessTel: 962-5555 Basic Database Concepts • Field Name: Barry Harris • A single item of data common to all records • Record Name: Barry HarrisCollege: BusinessTel: 962-5555 • A collection of data about an individual item • Table • A set of related records
Fields Basic elements of content
An Example of a Table Fields Records
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
Other parts of a database • Tables • Forms • Queries • Reports
Forms • A friendlier view of the database • Used for data input, display and printing
Queries • A means of asking questions (querying) of your data • Can look across tables
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
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