0% found this document useful (0 votes)
6 views

Database 2 Practical Questions

The document outlines a series of tasks related to creating and managing a student database. It includes instructions for creating tables to store student data and their scores, establishing relationships between the tables, calculating total scores, and generating queries and forms for data display. Additionally, it specifies the requirement to print the created tables and forms.

Uploaded by

atutiduke
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Database 2 Practical Questions

The document outlines a series of tasks related to creating and managing a student database. It includes instructions for creating tables to store student data and their scores, establishing relationships between the tables, calculating total scores, and generating queries and forms for data display. Additionally, it specifies the requirement to print the created tables and forms.

Uploaded by

atutiduke
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

QUESTION TWO.

(50MARKS)

Question two ( 50 marks)

a) Creat a database called students to store the following data. (19mks) *Nym *
Stdtable 1
ADM FIRST NAME SURNAME DATE-ADMITTED
064 Edna Florian 12/03/2005
071 Gateway Daraja 06/03/2005
090 Sister Rossy 05/02/2006
100 Dory Merc 03/02/2006
103 Berry Anny 04/02/2005
104 Lily White 10/03/2005
106 Violentina Waziri 11/02/2005
107 Jaylo Flamini 11/02/2005
108 Arsene Wenger 12/02/2006
110 Alex Hleb 13/03/2006

Stdtable2
ADM CAT1 CAT2 CAT3 CAT4
108 60 40 23 56
106 75 48 36 62
100 52 58 44 56
110 43 56 68 70
064 33 74 56 55
090 22 36 43 26
103 43 52 42 48
104 33 46 38 41
071 52 48 46 71
107 81 63 30 56

b) Create a suitable relationship between the two tables. (3mks) *Nym *


c) Create a new column with the filed name “TOTAL SCORE” to store the calculated total of CAT1,
CAT2, CAT3 and CAT4 for all students. Write down the expression used to find the total score in the

correct, syntax. Save the new table as stdtable3. (9mks) *Nym *

POWERED BY: http://atikaschool.org


d) Create a query, which will display ADM, FIRST NMAE, SURNAME. CAT1, CAT2, CAT3, CAT4
and TOTAL SCORE for students who have a total score of 200 and above. Write down the criteria
used in the correct syntax. Save the query as stdquery.
(8mks) *Nym *
e) Create a tabular layout form using form wizard that will display the records from stdquery. The
fields to be displayed on the form should be ADM, FIRST NAME, SURNAME and TOTAL SCORE.
Save it as Stdform. (6mks) *Nym *

f) Print stdtable1, stdtable2, stdtable3, stdquery and stdform. (5mks) *Nym *

POWERED BY: http://atikaschool.org

You might also like