Finally, the transactions of the rides are stored in the TRAVELS table. For each travel, start and end time with location are stored. In addition, the involved driver, car and user are listed for each drive. Price and discount information are also available in the database: TRAVEL ID TRAVEL, START_LOCATION TRAVEL, END_LOCATION DRIVER ID TRAVEL DISCOUNT TRAVEL_START_TIME TRAVEL END TIME TRAVEL PRICE CAR ID USER ID 5001 2019-10-01 04:04:55 2019-10-01 04:14:19 9614 York Road 84 Church Lane 15.44 2001 1003 3005 NULL 5002 2019-10-01 05:57:33 2019-10-01 06:12:33 47 Church Street 68 High Street 20.56 2001 1003 3006 NULL 5003 2019-10-01 13:35:20 2019-10-01 13:45:10 2 Windsor Road 95 West Street 12.32 2002 1001 3002 NULL 5004 2019-10-02 08:44:48 2019-10-02 09:15:28 9060 Mill Lane 27 Main Road 30.49 2003 1002 3001 0.13 5005 2019-10-02 16:38:54 2019-10-02 16:48:10 2 Queensway 24 Mill Lane 11.15 2001 1003 3007 NULL 5006 2019.10-03 19:12:14 2019-10-03 1923:45 50 Main Road 93 Broadway 14.61 2003 1002 3007 0.10 5007 2019-10-03 16:06:36 2019-10-03 16:08:56 39 Park Road 91 West Street 4.41 2002 1004 3003 0.14 5008 2019-10-03 17:17:12 2019-10-03 17:37:42 37 The Drive 17 Stanley Road 25.12 2001 1003 3001 0.25 5009 2019-10-03 21:16:48 2019-10-03 21:26:18 77 Mill Road 724 Springfield Road 13.55 2001 1003 3005 NULL 5010 2019-10-03 23:21:40 2019-10-03 23:39:10 16 Church Road 30 North Road 25.62 2003 1002 3003 0.20 TRAVELS Table You are assigned as the database administrator to collect and manage transactional data of the InstantRide operations. Your main task is to create SQL scripts to help other teams to retrieve the requested data. In the following activities, you will create the scripts, run against the database and send the result to the corresponding teams.
Finally, the transactions of the rides are stored in the TRAVELS table. For each travel, start and end time with location are stored. In addition, the involved driver, car and user are listed for each drive. Price and discount information are also available in the database: TRAVEL ID TRAVEL, START_LOCATION TRAVEL, END_LOCATION DRIVER ID TRAVEL DISCOUNT TRAVEL_START_TIME TRAVEL END TIME TRAVEL PRICE CAR ID USER ID 5001 2019-10-01 04:04:55 2019-10-01 04:14:19 9614 York Road 84 Church Lane 15.44 2001 1003 3005 NULL 5002 2019-10-01 05:57:33 2019-10-01 06:12:33 47 Church Street 68 High Street 20.56 2001 1003 3006 NULL 5003 2019-10-01 13:35:20 2019-10-01 13:45:10 2 Windsor Road 95 West Street 12.32 2002 1001 3002 NULL 5004 2019-10-02 08:44:48 2019-10-02 09:15:28 9060 Mill Lane 27 Main Road 30.49 2003 1002 3001 0.13 5005 2019-10-02 16:38:54 2019-10-02 16:48:10 2 Queensway 24 Mill Lane 11.15 2001 1003 3007 NULL 5006 2019.10-03 19:12:14 2019-10-03 1923:45 50 Main Road 93 Broadway 14.61 2003 1002 3007 0.10 5007 2019-10-03 16:06:36 2019-10-03 16:08:56 39 Park Road 91 West Street 4.41 2002 1004 3003 0.14 5008 2019-10-03 17:17:12 2019-10-03 17:37:42 37 The Drive 17 Stanley Road 25.12 2001 1003 3001 0.25 5009 2019-10-03 21:16:48 2019-10-03 21:26:18 77 Mill Road 724 Springfield Road 13.55 2001 1003 3005 NULL 5010 2019-10-03 23:21:40 2019-10-03 23:39:10 16 Church Road 30 North Road 25.62 2003 1002 3003 0.20 TRAVELS Table You are assigned as the database administrator to collect and manage transactional data of the InstantRide operations. Your main task is to create SQL scripts to help other teams to retrieve the requested data. In the following activities, you will create the scripts, run against the database and send the result to the corresponding teams.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
The Driver Relationship team realized that there is no need for DRIVER_DRIVING_LICENSE_CHECKED field in the active drivers table. Since all the drivers are already active in InstantRide, their driving licenses should be checked regularly. The team wanted you to remove the field from the table.

Transcribed Image Text:# Instructions Page 1 of 4
## Scenario and Database Model: InstantRide
**InstantRide** is the new ride-sharing application in the city and has just started its operations. Through the InstantRide mobile application, users can request a ride by providing their location. Drivers and cars are then assigned to fulfill the request, allowing the driver to pick up the user and transport them to their desired location. The database stores information about users, drivers, cars, and travel transactions.
### USERS Table
In the **USERS** table, information such as the first name, last name, and email of each user is stored. Below is a representation of this table:
| USER_ID | USER_FIRST_NAME | USER_LAST_NAME | USER_EMAIL |
|---------|-----------------|----------------|--------------------|
| 3001 | Jack | Hill | j.hill@xmail.com |
| 3002 | Ryan | Collins | r.collins@xmail.com|
| 3003 | Nursin | Yilmaz | n.atak@gmail.com |
| 3004 | Sarah | Price | s.price@xmail.com |
| 3005 | Bobby | Griffin | b.griffin@xmail.com|
| 3006 | Randy | Clark | r.clark@xmail.com |
| 3007 | Jose | Thomas | j.thomas@xmail.com |
| 3008 | Nursin | Yilmaz | n.yilmaz@xmail.com |
### DRIVERS Table
In the **DRIVERS** table, all drivers in the InstantRide system have their names, driving license number, verification status, and rating information recorded:
| DRIVER_ID | DRIVER_FIRST_NAME | DRIVER_LAST_NAME | DRIVER_DRIVING_LICENSE_ID | DRIVER_START_DATE | DRIVER_DRIVING_LICENSE_CHECKED | DRIVER_RATING |
|-----------|-------------------|------------------|---------------------------|-------------------|-------------------------------|---------------|
| 2001 | Willie | Butler | 1874501 | 2019-09-12 | 1 | 4.4 |
| 2002 | Justin | Howard | 1953853 | 2019-09-09 | 1 | 4.8 |
| 2003

Transcribed Image Text:Finally, the transactions of the rides are stored in the **TRAVELS** table. For each travel, start and end time with location are stored. In addition, the involved driver, car, and user are listed for each drive. Price and discount information are also available in the database:
**TRAVELS Table**
| TRAVEL_ID | TRAVEL_START_TIME | TRAVEL_END_TIME | TRAVEL_START_LOCATION | TRAVEL_END_LOCATION | TRAVEL_PRICE | DRIVER_ID | CAR_ID | USER_ID | TRAVEL_DISCOUNT |
|-----------|-------------------|-------------------|-----------------------|---------------------|--------------|-----------|--------|---------|-----------------|
| 5001 | 2019-10-01 04:04:55 | 2019-10-01 04:14:19 | 9614 York Road | 84 Church Lane | 15.44 | 2001 | 1003 | 3005 | NULL |
| 5002 | 2019-10-01 05:57:33 | 2019-10-01 06:12:33 | 47 Church Street | 68 High Street | 20.56 | 2001 | 1003 | 3006 | NULL |
| 5003 | 2019-10-01 13:35:20 | 2019-10-01 13:45:10 | 2 Windsor Road | 95 West Street | 12.32 | 2002 | 1001 | 3002 | NULL |
| 5004 | 2019-10-02 08:44:48 | 2019-10-02 09:15:28 | 9060 Mill Lane | 27 Main Road | 30.49 | 2003 | 1002 | 3001 | 0.13 |
| 5005 | 2019-10-02 16:38:54 | 2019-10-02 16:48:10 | 2 Queensway | 24 Mill Lane | 11.15 | 2001 | 1003 | 3007 | NULL |
| 5006 | 2019-
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education