Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Databases. Data vs. Information u Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86 u Information.

Similar presentations


Presentation on theme: "Introduction to Databases. Data vs. Information u Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86 u Information."— Presentation transcript:

1 Introduction to Databases

2 Data vs. Information u Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86 u 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.

3 What is the ultimate purpose of a database management system? Data Information Knowledge Action Is to transform Data driven decision making

4 What is a Database? u A structured collection of related data u A filing cabinet, an address book, a telephone directory, a timetable, etc. u Google and your email u School Student Information System

5 Basic Database Concepts u Table –A set of related records Name: Barry Harris College: Medicine Tel: 392-5555 Name: Barry Harris u Field u Record –A collection of data about an individual item –A single item of data common to all records

6 An Example of a Table Records Fields NameGatorLinkPhoneCollege Graffrgraff392-3900Pharmacy Harrisbharris392-5555Medicine Ipswichzipswich846-5656PHHP

7 Primary Keys & Foreign Keys NameUserPhoneCollege Graffrgraff392-3900Pharmacy Harrisbharris392-5555Medicine Ipswichzipswich846-5656PHHP 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.

8 What is a Relational Database Management System (RDMS)? A relational database is a collection of tables from which data can be accessed in many different ways without having to reorganize the database tables. DON’T DUPLICATE DATA – That is, once relationships are created, tables can “talk” to each other. We can link (relate) the tables to find data from many different tables.

9 Relationships Foreign Keys are keyslink to data in other tables

10 Input Data with Forms u A friendlier view of the database u Used for data input, menus, display and printing u Can perform calculations and combine fields

11 Queries u A means of asking questions (querying) of your data u Can look across a number of Tables and other Queries u Can perform Calculations and Combine fields

12 Introducing Reports u Output of information in a printed report u Allows you to group and summarize datasummarize data u Can perform calculations and combine fields u Cannot edit data u Can make labels

13 Database Options Consumer u Microsoft Excel u Microsoft Access u FileMaker Pro u MySQL (Open Source) u Postgres (Open Source) Enterprise RDMS u Oracle u IBM/DB2 u MS SQL-server u Sybase u Informix u Lotus Notes u MySQL (Open Source) u Postgres (Open Source)

14 SQL u Structured Query Language (SQL) is used for relational database “programming.” u SQL is the most commonly used programming language in the world


Download ppt "Introduction to Databases. Data vs. Information u Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86 u Information."

Similar presentations


Ads by Google