CW2 - Database

You might also like

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

CW#2 - DATABASE

1. CW# 2 Practical [35 mks] – Recreate all activities (1-3) from your text book.

Activity 1 - Creating a database & Table (Textbook) (9 mks)

I. Database name (1)


II. Members table (7)
III. Primary key (1)

Activity 2 – Entering records database (Textbook) (10 mks)

I. Remove Religion (1)


II. Insert Occupation & Sex (2)
III. Enter Records (7)

Activity 3 – Editing a record (Textbook) (8 mks)

I. Delete record 4 (1)


II. Surname change Aldon - Aldron (1)
III. Add record 8 (6)

The above activities you are doing from your textbooks. Then do these activities listed below

Activity 4 - Query

· Run the query using the activities from above to find out all persons who has the occupation of
Teacher (2 mks)

Activity 5 - Report

· Generate a report on the member table grouped by Occupation sorted in ascending order by
surname. (2 mks)

MS: [Act 1 (9 mks) Act 2(10), Act 3 (8) Act 4 (2) Act 5 (1), Punctuality (4) = Total [35]

You might also like