PRACTICAL QUESTION FOR DATABASE MANAGEMENT
Makindye Mixed farm provides the following data mentioning a range of farm animals and related
data. Use it to attempt instructions attached below it.
TABLE ONE: Basic Information
TABLE TWO: Other Information
AnimalId Animal
Sex
Name
NMF/001 Waibi
M
NMF/002 Africa
M
NMF/003 Small
M
NMF/004 Kyobika
M
NMF/005 Lillian
F
NMF/006 Kafupi
F
NMF/007 Daudi
M
NMF/008 Patrick
M
NMF/009 Aminah
F
NMF/010 Fridah
F
NMF/011 Agnes
F
NMF/012 Wakitaka
F
NMF/013 Kamyuka
M
NMF/014 Walugembe M
NMF/015 +Sagna
F
NMF/016 Fatuma
F
NMF/017 Terry
F
NMF/018 Kanu
M
NMF/019 Bugembe
F
NMF/019 Nduusi
F
Date of
birth
13/12/2000
16/08/2000
17/02/1999
02/04/1999
04/10/2001
27/02/2006
23/07/2005
03/06/2004
09/10/2004
22/09/2007
03/09/2003
10/10/2008
22/02/2003
26/12/2004
30/01/2009
20/06/2008
12/12/2008
14/03/2007
19/07/2009
06/02/2001
Animalld
NMF/001
NMF/002
NMF/003
NMF/004
NMF/005
NMF/006
NMF/007
NMF/008
NMF/009
NMF/010
NMF/011
NMF/012
NMF/013
NMF/014
NMF/015
NMF/016
NMF/017
NMF/018
NMF/019
NMF/020
Water
status
consu
Sickly
12
mption
Normal
20
(cm3)/D
Normal
10
ay
Normal
42
Sickly
65
Normal
23
Normal
10
Sickly
25
Normal
14
Sickly
23
Sickly
20
S
36
S
18
N
19
N
17
S
13
S
10
N
12
N
14
N
15
Weight
(kgs)
95
120
455
370
210
456
700
654
321
258
369
147
102
106
204
384
165
200
500
413
a) Create a database using a suitable program and save it as mixedfarm.
(05 marks)
b) Design two empty tables and use table headings as file name for each table and insert a primary key using the
field name AnimalId.
(05 marks)
c) Design and use a form to enter data into the table designed in (b) above.
(05 marks)
d) Create two queries using all field names to attempt the following conditions:
(i) All animals that were born between 10/09/1999 and 10/12/2006 that are normal and save as one.(05 marks)
(ii) Animals that have water consumption above 12 litres and have a weight that is above 200 kgs and save at two
(05 marks)
e) Create a simple report to indicate: AnimalId, Animal Name, Weight, Water consumption and save it as
report 1.
Practical practice question for database management BBAM