Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Databases CISC 1050. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.

Similar presentations


Presentation on theme: "Introduction to Databases CISC 1050. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s."— Presentation transcript:

1 Introduction to Databases CISC 1050

2 Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s office Verizon IRS …

3 General Definition A DATABASE is a collection of related data. Data = known facts that can be recorded and have implicit meaning.

4 Example of a Database

5 Size of a database Small database example: your personal phone directory Large database example: database of the IRS

6 DBMS – Database Management System A collection of programs that enables users to create and maintain a database.

7 MS Access is a DBMS In ACCESS, a DATABASE consists of a collection of tables.

8 Table A table is defined by its columns, called fields. Each row (or entry) in a table is called a record. A record is the information about a specific person, product, or event.

9 Starting ACCESS 1.Begin ACCESS 2.Create a blank Database – although a database consists of many files, in Access, each database is viewed as a single file, hence a single icon.

10 Navigation Pane and Work Area Navigation Pane: On the left you will see a list of the objects in the database (including tables, forms, reports, queries, etc.) Work Area: on the right you have the object you are currently working on.

11 Defining a TABLE A TABLE is defined by its fields (column headings). 1.Field Name – unique name 2.Data Type – type of info a field can contain. 3.Description – comments about field.

12 PRIMARY KEY unique identifierEach table must have a primary key which is a unique identifier for each record. Eg. ID number for a student, course number for a course, driver number for a driver, etc.

13 Two VIEWS of a Table 1.Design View – view the table’s definition, I.e. the fields and their properties. 2.Datasheet View – view the actual records in the table.

14 Database Design Arranging data into tables and fields. This process can be long and difficult.

15 Remove Redundancy WHY? Wastes space Updating is difficult Inconsistent data may result


Download ppt "Introduction to Databases CISC 1050. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s."

Similar presentations


Ads by Google