Scenario and Database Model: InstantRide InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the InstantRide mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions. In the USERS table, information for the users are stored with their first name, last name and email: USER_ID 3001 3002 3003 3004 3005 3006 3007 3008 USERS Table 2001 2002 2003 USER_FIRST_NAME 2004 Jack Ryan DRIVERS Table Nursin Sarah Bobby Randy Jose Nursin USER_LAST_NAME In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information: Hill DRIVER ID DRIVER FIRST NAME DRIVER LAST NAME DRIVER DRIVING LICENSE ID DRIVER START DATE DRIVER DRIVING LICENSE CHECKED DRIVER RATIN Willie 1874501 Justin 1953853 Anthony 1735467 Ece 1734747 Howard Walker Yilmaz Collins Yilmaz Price Griffin Clark Thomas Yilmaz 2019-09-12 2019-09-09 2019-09-15 2019-08-15 USER_EMAIL Jhill@xmail.com r.collins@xmail.com n.atak@gmail.com s.price@xmail.com b.griffin@xmail.com r.clark@xmail.com j.thomas@xmail.com n.yilmaz@xmail.com 1 1 4.8 3.5 0

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Scenario and Database Model: Instant Ride
InstantRide is the new ride sharing application in the city and it has just started its operations.
With the help of the Instant Ride mobile application, the users request a ride with their location.
Drivers and cars are assigned to the request; and then the driver picks up the user to ride their
requested location. Information for the users, drivers and cars are stored in the database as well as
the travel transactions.
In the USERS table, information for the users are stored with their first name, last name and email:
USER_ID
3001
3002
3003
3004
3005
3006
3007
3008
USERS Table
2001
2002
2003
2004
USER_FIRST_NAME
Willie
Justin
Anthony
Ece
Jack
Ryan
Nursin
Sarah
Bobby
Randy
Jose
DRIVERS Table
Nursin
Butler
Howard
In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license
number and check and rating information:
Walker
DRIVER_ID DRIVER_FIRST_NAME DRIVER LAST NAME DRIVER DRIVING LICENSE_ID DRIVER_START_DATE DRIVER DRIVING LICENSE CHECKED DRIVER_RATING
1874501
1953853
Yilmaz
USER_LAST_NAME
1735487
Hill
1734747
Collins
Yilmaz
Price
Griffin
Clark
Thomas
Yilmaz
2019-09-12
2019-09-09
2019-09-15
2019-08-15
1
1
USER_EMAIL
j.hill@xmail.com
r.collins@xmail.com
n.atak@gmail.com
s.price@xmail.com
b.griffin@xmail.com
r.clark@xmail.com
j.thomas@xmail.com
n.yilmaz@xmail.com
1
1
4.8
3.5
0
Transcribed Image Text:Scenario and Database Model: Instant Ride InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the Instant Ride mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions. In the USERS table, information for the users are stored with their first name, last name and email: USER_ID 3001 3002 3003 3004 3005 3006 3007 3008 USERS Table 2001 2002 2003 2004 USER_FIRST_NAME Willie Justin Anthony Ece Jack Ryan Nursin Sarah Bobby Randy Jose DRIVERS Table Nursin Butler Howard In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information: Walker DRIVER_ID DRIVER_FIRST_NAME DRIVER LAST NAME DRIVER DRIVING LICENSE_ID DRIVER_START_DATE DRIVER DRIVING LICENSE CHECKED DRIVER_RATING 1874501 1953853 Yilmaz USER_LAST_NAME 1735487 Hill 1734747 Collins Yilmaz Price Griffin Clark Thomas Yilmaz 2019-09-12 2019-09-09 2019-09-15 2019-08-15 1 1 USER_EMAIL j.hill@xmail.com r.collins@xmail.com n.atak@gmail.com s.price@xmail.com b.griffin@xmail.com r.clark@xmail.com j.thomas@xmail.com n.yilmaz@xmail.com 1 1 4.8 3.5 0
Task 3:
The Driver Relationship team requires the following details about the drivers:
• All drivers with their rating in descending order
• All drivers currently having a rating higher than 4
You need to return the DRIVER_ID and DRIVER_RATING couples in two separate tables.
Tasks
Query all drivers by their driver rating in descending order.
Query all drivers with a rating higher than 4.
Transcribed Image Text:Task 3: The Driver Relationship team requires the following details about the drivers: • All drivers with their rating in descending order • All drivers currently having a rating higher than 4 You need to return the DRIVER_ID and DRIVER_RATING couples in two separate tables. Tasks Query all drivers by their driver rating in descending order. Query all drivers with a rating higher than 4.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY