0% found this document useful (0 votes)
8 views1 page

Database 1 June

The document outlines a database project for a vehicle buying and selling business, including seller and vehicle details. It specifies tasks such as creating a database file, tables, forms, queries, and reports related to vehicle sales. The project involves calculating new prices and generating a report on total sales based on updated pricing.

Uploaded by

dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Database 1 June

The document outlines a database project for a vehicle buying and selling business, including seller and vehicle details. It specifies tasks such as creating a database file, tables, forms, queries, and reports related to vehicle sales. The project involves calculating new prices and generating a report on total sales based on updated pricing.

Uploaded by

dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

NJONJO GIRLS HIGH SCHOOL

COMPUTER STUDIES
JUNE 2015 DATABASE CAT
The information in the following two tables relates to a vehicle buying and selling business.

Table 1: Seller details

Seller No Seller Name Address Town


8215 Samcon 23454 Nakuru
8242 CMC 654 Eldoret
8430 DCM motors 3554 Nairobi
8620 Farmers Garage 7645 Kitale
8845 KCI 8643 Kisumu

Table 2: Vehicle details

Reg No Make Type Price Seller No


KAJ 543Q Nissan Matatu 1,200,000 8242
KAQ 952R Mercedes Saloon 4,000,000 8242
KAX 534S Peugeot Pickup 960,400 8620
KAZ 454C Mazda Saloon 550,000 8215
KBA 386A Toyota Pickup 750,000 8620
KBB 917A Toyota Saloon 800,000 8430
KBE 875T Isuzu Lorry 1,800,650 8430
KBG 805G Scania Bus 10,500,000 8845
KBJ 324D Isuzu Bus 9,200,000 8845
KZL 931 Toyota Matatu 1,400,000 8620

a). Create a database file named D:\Business. (2mks)


b). Create the two tables above and save them using their respective names. Determine the
appropriate primary keys. (10mks)
c). Create a form based on each table. Insert form titles as seller details form and vehicle
details form respectively. (5mks)
d). Use the forms to enter the records in the two tables as shown above. 15mks)
e). Create a query containing the following fields(Reg no, Make, price and Seller name). It.
Should display only those vehicles whose prices are above 1000,000. Save as Sales1. (6mks)
f). Remove the criteria set in sales1 query. Include a calculated field in the sales query to
derive new prices if the current prices went up by 5%. Save as sales2. (5mks)
g). Create a tabular report based on sales2 query. The report should show the total amount
collected from selling the vehicles if they were sold at their new prices. Save as report. (4mks)
h) Print the seller details table, vehicle details table and the report.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy