Practical 4

1
Computer studies : Year 10sic Practical 4 Topic : QUERY IT TASKS 6 ( Simple queries ) 1. Open your database program called employee. 2. Write commands that would enable you to list the following fields. ( if your database commands are different, then use them) : a. A list of surnames, job departments and salaries for all employees. b. A list of surnames, their holiday totals and their holiday taken c. A list of all employees surnames, forenames and home telephone numbers. 3. Save your work. IT TASKS 7 (Complex searches) 1. Open your database program called employee. 2. Write commands to perform the following searches and check that they work by producing a printout from the personnel database: a. The employee number, surname and department of staff working under 20 hours. b. The name and addresses of all staff in the sale department. c. The name, job departments and dates of birth staff who joined the company after 1/1/86 3. Save your work. Prepared by : Teacher fizah Page 1

Transcript of Practical 4

Page 1: Practical 4

Computer studies : Year 10sic Practical 4

Topic : QUERY

IT TASKS 6 ( Simple queries )

1. Open your database program called employee.2. Write commands that would enable you to list the following

fields. ( if your database commands are different, then use them) :

a. A list of surnames, job departments and salaries for all employees.

b. A list of surnames, their holiday totals and their holiday taken

c. A list of all employees’ surnames, forenames and home telephone numbers.

3. Save your work.

IT TASKS 7 (Complex searches)

1. Open your database program called employee.2. Write commands to perform the following searches and check

that they work by producing a printout from the personnel database:

a. The employee number, surname and department of staff working under 20 hours.

b. The name and addresses of all staff in the sale department.

c. The name, job departments and dates of birth staff who joined the company after 1/1/86

3. Save your work.

Prepared by : Teacher fizah Page 1