Answered step by step
Verified Expert Solution
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 customeridPK Firstname, Lastname, Contact, Address, Email
Driver Driverid PK Firstname, Lastname, Contact, Address, Rating, Vehicletype
ActiveJob Jobid PK CustomeridFK Pickup Dropoff, Vehiclepreference
Bidding BididPK JobidFK DriveridFK Fare, Status
AssignedJob JobidFK DriveridFK
Pasttrip JobidFK Status, Timeappointed, Time completed
First 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 Vehicletype Driver table VehiclepreferenceActiveJob Status in bidding table is weather the customer accepts the big or not.
Assignedjob table has Jobid and Driver Id both as foreign Key and job is assigned to the driver whose Status biddingtable Accepted.
Pasttrip 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started