Computers and Technology

Lubby General Parts and merchandiseimports different vehicles from different suppliers. Each vehicle is kept in a separate store. The vehicle include cars, Lorries, Buses, Tractors and Loaders. The classification of vehicles includes but is not limited to cars, Lorries, buses and tractors. Other data captured about an item is the country of manufacture/ origin. The General Manager of the company at any time may want to know the number of months the item has spent as company stock, the quantity in stock and the total weekly sales. The sales department requires to know the following details like make, color, cc capacity, seat capacity, model, price, quantity, weight in stock.
The accounts department need to know for any item sold – item code, item name, purchase price, sale price, profit or loss, cumulative profit or loss over a desired period.
However supplier number, name, address and contact person is captured for every supplier.

The purchase department is responsible for placing orders of goods when the quantity falls below re-order levels. Each item has its own re-order level. An order includes the item code, name, quantity required, supplier, mode of shipment, date of delivery. When the items are received the Stores department prepares a receipt note. The receipt note includes batch number, item code, name, quantity received, supplier, mode of shipment, date of delivery, staff receiving the items.

Data kept about a staff is the staff number (uniquely identifies the staff and identifies the department in which the staff works), name, sex, date of birth, marital status, next of keen, salary scale. There are four departments namely Administration, Purchase, Sales and Stores.

1. You are required to do the following:-
a. Write an SQL code that will create a Lubby General Parts and merchandisedatabase (2 marks)
b. Extract all tables with their corresponding attributes (3 marks)
c. Create the above tables and include at least 3 constraints per table (20 marks)
d. Insert 2 records per table

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, paigesyring
How does a policy manual an organization? a. it boost productivity. b. it create awareness in employees about the organization’s values. c. it employees achieve targets. d. it safeguards the organization from liabilities.
Answers: 1
image
Computers and Technology, 22.06.2019 18:30, lailahussain99
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
image
Computers and Technology, 23.06.2019 22:30, BilliePaul95
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
image
Computers and Technology, 23.06.2019 23:30, huangjianhe135
The keyboard usually has six rows of keys. which of the following is not one of the key group categories? letter keys number keys control keys graphic keys
Answers: 1
Do you know the correct answer?
Lubby General Parts and merchandiseimports different vehicles from different suppliers. Each vehicle...

Questions in other subjects:

Konu
Mathematics, 25.01.2021 16:30