Anda di halaman 1dari 5

DBAS 5206 Database Development I

Student ID

Assignment #1

: 100567035

Student Name : Mateus Pinheiro de Lima


Course Code

: DBAS5206

Date

: 9/16/14

Type

: Assignment #1

CRN: 34704

Consider your local auto mechanic, an independent operator with a three-bay garage who has
built up a very loyal clientele over a number of years by providing quality service at a reasonable
price and answer the following questions;
1. How could a DBMS help the management and staff of the garage?
A DBMS can help the garage to store the information of the customers and their info name, address, phone number, email, vehicle, driver license - so would be easier to keep in touch
with them, and inform them about sales/promotion or something that they maybe could be
interested.
As they work with vehicles the DBMS can keep track of the vehicles - colour, model,
year, brand, license plate, owner - and with this in hand, they can tell the customers which brands
they usually work with, what service was done and if had any part replaced or that need
replacement.
In this type of environment that requires you to use objects in your services to repair, you
need to keep track what you have in stock, which tool that you have, what you need to buy, who
are your suppliers and how much they are asking, with a DBMS you can get a report of which
Page !1 of !5

DBAS 5206 Database Development I

Assignment #1

brands your customers usually need or prefer, what you are needing if you need to import/buy,
when you are running out of stock and need replenish and which supplier is offering the best
price.
Having the information of your staff stored can be helpful so you can - contact them
when you need it, and with a database you can keep track what time they are coming for work,
what are their wage, when is the time that they can have vacancy, reward the workers, see if they
are working overtime and what are their skills and so on.
Services are the main thing in your business so is a good idea displaying this, so whoever
that needs to give a information to the customer can have at hand like: what are the services
offered and what they are, how much time they take to be done, check the status of a service. The
DBMS can provide you what services are more popular by season, see when is time to rise or
lower a price of a service, which staff have more practice doing a certain job, what is the the
busiest time in the day/week so you can tell to your clients when they should come so they dont
have a surprise and waste their time, and you can see when is the best time to employ more
workers or have part time jobs opportunities too.
In overall a database can improve the way that the garage is managed, making easier to
track everything, get reports and waste less time.
2. What are the main objects that should be represented in the garages database?
Customer
Vehicle
Staff

Page !2 of !5

DBAS 5206 Database Development I

Assignment #1

Supply
Invoice
Service

3. What relationships do you think would exist between the objects you identified in
question 2?
Customer owns a Vehicle that needs a Service that need a Supply and will be
done by a Staff that is going make a Invoice to the Customer.
4. For each of the objects you identified, list the details (attributes) of each object that you
think should be held in the garage database.

Customer
Customer ID

City

Name

Province

Drivers License Number

Zip code

Phone

Country

License Plate

Vehicle

Brand

License Plate

Model

Colour

Year

Owner Name

Page !3 of !5

DBAS 5206 Database Development I

Assignment #1

Service
Description

Status

Price

Staff ID

Start Date

Supply ID

End Date
Supply
Barcode

Price

Quantity

Description

Supplier

Brand

Staff
Staff ID

Occupation

Name

Salary/Wage

Phone

Address

Invoice
Service ID

Customer ID

Date

Invoice Total

Status

Page !4 of !5

DBAS 5206 Database Development I

Assignment #1

5. Identify at least six different queries that you might consider running against the garage
database. You dont have to write the query, just identify the question or problem that you
feel a query should be able to solve for you.

List Customers by Name from the city of Toronto.


List Invoices that were paid.
List Supplies by Brand that are out of stock.
List Finished Services with dates due for Today.
List Vehicles with the GMC brand.
List Staff that have Painter as occupation

Page !5 of !5

Anda mungkin juga menyukai