Question: Using ER syntax, draw a single integrated conceptual model for the mini - world described below. A bike shop needs a database to manage their
Using ER syntax, draw a single integrated conceptual model for the miniworld described below.
A bike shop needs a database to manage their sales of parts and service. Here are some of the things
they need to track:
Customers are billed and pay in terms of an invoice, describing the parts or items sold and
work done for a particular transaction.
Each invoice is sold by a particular employee, the one who rang up the final transaction.
On a given invoice, customers can buy various items eg parts, accessories Work performed
will also appear line items on the invoice.
Items sold have a description, a quantity, and a unit price. They also have an item
IDSKU to tie it into an inventory system.
Work is performed by a particular employee, has a description, and a cost.
Tip: work can also be modeled with a quantity and unit price; an hourly billing rate for
general labor, and a quantity of for work with a standardized billing rate, such as $
for a brake tuneup
Work is also performed on a specific bicycle.
Customers can have more than one bicycle.
Invoices can be open, meaning they are still accumulating items, or closed, meaning they are
finished and ready to be paid.
Track basic information about customers name billing address, phone number, etc.
Simplifying Assumptions
Each invoice is sold to a single customer.
Each bicycle is owned by a single customer.
We do not need to model an inventory or payroll system. Describe a set of relations that will store the data from your ER model in part
For each relation, give:
Its name
The entity or relationship type it stores
Its attributes, along with their approximate data type number string, date
Its primary key
Its foreign keys and the relations that they reference.
Bonus points if you include SQL table schema definitions. For each of your relations in part give example rows.
All data must be referentially valid that is a foreign key value in one table must refer to a valid
primary key value in the table that it references Utilize the generalization construct of the enhanced entityrelationship model, where appropriate, to
demonstrate understanding of the concept. For each case, specify the attributes of the entities
involved and indicate the type of generalization. Address any instances of overlapping if they arise.
points An international airline offers flights, each of which has a number that identifies the
flight for example ParisBoston a date March a departure time :am and an arrival
time :pm a departure airport and an arrival airport. There are national and international
flights. The international flights can have one or more stopovers.
points Describe a set of relations that will store the data from your ER model from Exercise
Use always Chen's notation
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
