Database Exams
Database Exams
i. Female students
ii. Male students
iii. Students from Kampala
iv. Students from Wakiso
v. Students from jinja
vi. Degree students
vii. Diploma students
viii. Students with age 16
ix. Students with age greater than 18
x. Students with age less than 19
The following table describes a supplier’s report for Uga Ltd during the month of June Year 2001. Enter
the record and answer the question that follows (5 marks)
Suppliers No Suppliers Quality Quantity Free Lift Supplied Town
Name Supplied Rejected
SNO/001 John Kamau 500 30 18 Nairobi
SNO/002 Peris Owino 4500 20 18 Mombasa
SNO/003 Jane Warui 600 35 15 Nakuru
SNO/004 David Juma 700 40 20 Nairobi
SNO/005 Petrol Madilla 800 70 25 Mombasa
SNO/006 Lilian Kamau 350 30 6 Nakuru
SNO/007 Stephen 580 10 9 Nairobi
Bobby
SNO/008 Jardine Sumoh 370 18 12 Mombasa
SNO/009 Fatuma Musa 520 22 4 Nakuru
i. By use of a query calculate the quantity accepted from quantity supplied (5 marks)
ii. Using a query display supplier whose names start with J (3 marks)
iii. Display suppliers whose names has letter M (3 marks)
iv. Calculate a discount given 20% of quantity supplied (5 marks)
v. Using query display suppliers from Nakuru and save it as Nakuru (3 marks)
vi. Create a form to display one at time (3 marks)
vii. Create a report to calculate the quantity accepted from quantity supplied (3 marks)
viii. Create a report to show all the suppliers records, calculate the discount which is given at a rate of
10% of quantity supplied, insert a clip art and give a background (10 marks)
a) Create a query to show names, department and b.pay using simple query wizard (3 marks)
b) Create a query to show those people in computer department (3 marks)
c) Display those whose names start with J (3 marks)
d) Display those who are getting bonus more than 1500 (marks)
e) Calculate the net pay for each employee (3 marks)
f) Calculate allowance, which is located at the rate of 10% of B.pay (5 marks)