Lesson 1 Introduction of Databases Using Microsoft Access.

20
Lesson 1 Introduction of Databases Using Microsoft Access

Transcript of Lesson 1 Introduction of Databases Using Microsoft Access.

Page 1: Lesson 1 Introduction of Databases Using Microsoft Access.

Lesson 1

Introduction of Databases

Using Microsoft Access

Page 2: Lesson 1 Introduction of Databases Using Microsoft Access.

Overview

• What is database

• Steps to design a database

• Elements, menus, toolbar of MS Access

• Work with MS Access

Page 3: Lesson 1 Introduction of Databases Using Microsoft Access.

What is database

• A collection of information• eg, lists of names, address, phone no for c

ontact• Each item of information in the list such as

name, phone no is called a field.• The collection of field information for one p

erson in the list is a record.• Field and record information is contained i

n a grid called a table.

Page 4: Lesson 1 Introduction of Databases Using Microsoft Access.

Phone list of teaching staffs

Name Address Phone no subjects

Mr. Lau WT Flat 5603, block 10, City One, Sh

atin

26488222 Computer

Ms Cheung M W

Flat 5604, block 10, City One, Sh

atin

26488333 Computer

Physics

Mr. Mak C H Flat 5605, block 10, City One, Sh

atin

26484444 Mathamatics

Physics

Fields

Record

Page 5: Lesson 1 Introduction of Databases Using Microsoft Access.

Database Storage and management

• Objects you create are stored in a single database file

• eg : stafflist.mdb

• A computer application that you use to create and maintain databases is database management system (DBMS)

Page 6: Lesson 1 Introduction of Databases Using Microsoft Access.

Design a Database

1. Define purpose

2. Plan database objects

3. Create tables

4. Create queries

5. Create forms and reports

Page 7: Lesson 1 Introduction of Databases Using Microsoft Access.

Assignment

• Design your own contact list• Which includes1. Class2. Name (may set as primary key)3. Class no4. Favourite subject5. Birthday6. Phone no

Page 8: Lesson 1 Introduction of Databases Using Microsoft Access.

Tasks included

1. Open a database

2. Create fields in a table with different data types

3. Add records to the table using DATASHEET view

4. Create an AUTOFORM

5. Add records to the table using the Form

Page 9: Lesson 1 Introduction of Databases Using Microsoft Access.

Short Quiz

1. What is the term describes all the data for one entity in a table?

• Record

• File

• Field

• Query

Page 10: Lesson 1 Introduction of Databases Using Microsoft Access.

Short Quiz

2. What is the extension of a database file?

• Filename.acc

• Filename.mdb

• Filename.msdb

• Filename.dbms

Page 11: Lesson 1 Introduction of Databases Using Microsoft Access.

Short Quiz

3. Which of the following should be the most suitable as a datatype of the field DateofBirth?

• text

• currency

• hyperlink

• Date/Time

Page 12: Lesson 1 Introduction of Databases Using Microsoft Access.

Design your own contact list

Page 13: Lesson 1 Introduction of Databases Using Microsoft Access.

Private key

Page 14: Lesson 1 Introduction of Databases Using Microsoft Access.
Page 15: Lesson 1 Introduction of Databases Using Microsoft Access.
Page 16: Lesson 1 Introduction of Databases Using Microsoft Access.
Page 17: Lesson 1 Introduction of Databases Using Microsoft Access.
Page 18: Lesson 1 Introduction of Databases Using Microsoft Access.

Manage data base

Page 19: Lesson 1 Introduction of Databases Using Microsoft Access.
Page 20: Lesson 1 Introduction of Databases Using Microsoft Access.