COMP1845
COMP1845
a.
Process of Elicitation
To grasp London Autos requirements for the relational database fully, the
following steps were taken:
1. Car Management
- Store information about cars, including name, model number, description,
make, manufacturing date, and price.
- Keep track of whether a car is new or returned for resale.
- Manage customer financing information (whether paid directly or financed).
2. Customer Management
- Maintain details about customers, including personal information, purchase
history, and financial options.
3. Sales Agent Management
- Store agent information (name, ID, contact details) to manage sales activities.
4. Accessory Management
- Store accessory details (e.g., seat covers, wheel covers).
5. Transaction and Sales Records
- Track each sale (cars and accessories) and associate it with customers and
sales agents.
- Handle both new and used car sales with payment type (cash or financing).
b.
c.
● It is in 1NF.
● All non-prime attributes are fully functionally dependent on the primary key (no
partial dependency).
● It is in 2NF.
● There are no transitive dependencies (non-prime attributes are not dependent
on other non-prime attributes).
● Customers table:
○ Attributes like first_name, last_name, and contact depend only on the
primary key (customer_id), with no transitive dependencies.
● Sales table:
○ date_of_sale and payment_type depend only on sales_id.
● Finance table:
○ bank_name, amount, and interest_rate depend directly on
finance_id with no transitive dependencies.
Car Table:
Customer Table:
Sales Table:
Accessory Table:
Finance Table:
e.
Car Database:
Customer Database:
Finance Database:
Accessory Database:
f.
a.
b.
c.
d.
e.
f.
g.
h.