Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make ERD and GRD a courier moving company. the relationships of the project are as under. Customer ( customer _ id { P . K

Make ERD and GRD a courier moving company. the relationships of the project are as under.
Customer (customer_id{P.K}, First_name, Last_name, Contact, Address, Email)
Driver (Driver_id {P.K}, First_name, Last_name, Contact, Address, Rating, Vehicle_type)
Active_Job (Job_id {P.K}, Customer_id{F.K}, Pick_up, Drop_off, Vehicle_preference)
Bidding (Bid_id{P.K}, Job_id{F.K}, Driver_id{F.K}, Fare, Status)
Assigned_Job (Job_id{F.K}, Driver_id{F.K})
Past_trip (Job_id{F.K}, Status, Time_appointed, Time completed)
First 2 Tables are basic. Active job is posted by the user with cutomer id a foreign key. user sets the vehicle preference from truck, UTE, Car, Bike, Van. from BIDDING table only those driver bid whose Vehicle_type (Driver table)= Vehicle_preference(Active_Job). Status in bidding table is weather the customer accepts the big or not.
Assigned_job table has Job_id and Driver Id both as foreign Key and job is assigned to the driver whose Status (bidding_table)= Accepted.
Past_trip stores history of the trip. it saves the time started of a trip and time completed. and status weather it is completed or cancelled.
ERD should look something like the sample picture as under.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

More Books

Students also viewed these Databases questions

Question

What are the criteria for good primers in a PCR reaction?

Answered: 1 week ago

Question

=+a) What are the possible values of this random variable?

Answered: 1 week ago