Download as odt, pdf, or txt
Download as odt, pdf, or txt
You are on page 1of 2

Database Assignment

1.1 Build Table


Table Name : Employee
PK

Field name

Field type

Entry required

Length

EmployeeID

Integer [INTEGER]

Name

Text [VARCHAR]

Yes

DateHired

Date[DATE]

Yes

Salary

Decimal [DECIMAL]

Yes

10 / Decimal = 2

PhoneNumber

Number [NUMERIC]

Yes

10

Field name

Field type

Entry required

Length

EmployeeID

Integer [INTEGER]

DeparmentName

Text [VARCHAR]

Yes

10

UnitName

Text [VARCHAR]

Yes

30

PostID

Text [VARCHAR]

Yes

5
50

Table Name : Department


PK

Department Unit
Management Account, Human Resource, Maintenance
Academic
Mathematics, Science, Social Science
Table Name : Post
PK

PostID
TC
ENG
ACC
HRD
CLK
LC
HDD
HDU

Field name

Field type

Entry required

Length

PostID

Text [VARCHAR]

Yes

Description

Text [VARCHAR]

Yes

20

Description
Technician
Engineer
Accountant
Director HR
Clark
Lecturer
Head of Departments
Head of Unit

1.3 Make ERD (Entity Relation Ship Diagram)

1.2 Make Form and enter data (Key In 30 employees with difference Department and Unit)
1.3 Build Queries Using Create Query in Design View
1.2.1.
1.2.2.
1.2.3.
1.4 Ganerate report
1.2.4.
1.2.5.
1.2.6.

By Departments (3 Department)
By Units (1 Department 2/3 Unit)
By Post

All employees
Each Departments
Each Units

You might also like