The InstantRide Driver Relationship team wants to check if there are any drivers with zero rides. You need to extract the DRIVER_ID, DRIVER_FIRST_NAME, DRIVER_LAST_NAME of the drivers with zero rides. You can use a subquery with DRIVER_ID compared to ALL rows in TRAVELS.

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
icon
Related questions
Question

The InstantRide Driver Relationship team wants to check if there are any drivers with zero rides. You need to extract the DRIVER_IDDRIVER_FIRST_NAMEDRIVER_LAST_NAME of the drivers with zero rides. You can use a subquery with DRIVER_ID compared to ALL rows in TRAVELS.

**Table: Travel Data Records**

This table displays a dataset of travel records, each row representing an individual trip. It includes the following columns:

1. **TRAVEL_ID**: A unique identifier for each travel record.
2. **TRAVEL_START_TIME**: The date and time when the travel began.
3. **TRAVEL_END_TIME**: The date and time when the travel concluded.
4. **TRAVEL_START_LOCATION**: The address where the travel started.
5. **TRAVEL_END_LOCATION**: The destination address where the travel ended.
6. **TRAVEL_PRICE**: The cost of the travel in monetary terms.
7. **DRIVER_ID**: A unique identifier for the driver associated with the travel.
8. **CAR_ID**: A unique identifier for the car used in the travel.
9. **USER_ID**: A unique identifier for the user or passenger.
10. **TRAVEL_DISCOUNT**: The discount applied to the travel price, if any, indicated as either a numeric value or NULL if no discount was applied.

The dataset showcases various travel instances with details on timing, pricing, and identifiers for drivers, cars, and users. Discounts are applied selectively to some entries. 

This table format is commonly used in databases to track transportation services and can serve as a basis for further analysis in fields such as logistics, urban planning, or transportation economics.
Transcribed Image Text:**Table: Travel Data Records** This table displays a dataset of travel records, each row representing an individual trip. It includes the following columns: 1. **TRAVEL_ID**: A unique identifier for each travel record. 2. **TRAVEL_START_TIME**: The date and time when the travel began. 3. **TRAVEL_END_TIME**: The date and time when the travel concluded. 4. **TRAVEL_START_LOCATION**: The address where the travel started. 5. **TRAVEL_END_LOCATION**: The destination address where the travel ended. 6. **TRAVEL_PRICE**: The cost of the travel in monetary terms. 7. **DRIVER_ID**: A unique identifier for the driver associated with the travel. 8. **CAR_ID**: A unique identifier for the car used in the travel. 9. **USER_ID**: A unique identifier for the user or passenger. 10. **TRAVEL_DISCOUNT**: The discount applied to the travel price, if any, indicated as either a numeric value or NULL if no discount was applied. The dataset showcases various travel instances with details on timing, pricing, and identifiers for drivers, cars, and users. Discounts are applied selectively to some entries. This table format is commonly used in databases to track transportation services and can serve as a basis for further analysis in fields such as logistics, urban planning, or transportation economics.
**Driver Information Table**

This table provides detailed information about drivers, including their personal details, license information, start date, and driver ratings.

| 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      | Anthony           | Walker           | 1735487                    | 2019-09-15       | 1                              | 3.5           |
| 2004      | Ece               | Yilmaz           | 1734747                    | 2019-08-15       | 1                              | 0             |

**Explanation of Columns:**

- **DRIVER_ID:** A unique identifier for each driver.
- **DRIVER_FIRST_NAME:** First name of the driver.
- **DRIVER_LAST_NAME:** Last name of the driver.
- **DRIVER_DRIVING_LICENSE_ID:** License ID associated with the driver.
- **DRIVER_START_DATE:** The date when the driver started.
- **DRIVER_DRIVING_LICENSE_CHECKED:** Indicates if the driver's license has been checked (1 for yes).
- **DRIVER_RATING:** A numerical representation of the driver's performance rating.

This data can help in managing and evaluating driver profiles for various purposes including driver performance assessment and validation of license details.
Transcribed Image Text:**Driver Information Table** This table provides detailed information about drivers, including their personal details, license information, start date, and driver ratings. | 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 | Anthony | Walker | 1735487 | 2019-09-15 | 1 | 3.5 | | 2004 | Ece | Yilmaz | 1734747 | 2019-08-15 | 1 | 0 | **Explanation of Columns:** - **DRIVER_ID:** A unique identifier for each driver. - **DRIVER_FIRST_NAME:** First name of the driver. - **DRIVER_LAST_NAME:** Last name of the driver. - **DRIVER_DRIVING_LICENSE_ID:** License ID associated with the driver. - **DRIVER_START_DATE:** The date when the driver started. - **DRIVER_DRIVING_LICENSE_CHECKED:** Indicates if the driver's license has been checked (1 for yes). - **DRIVER_RATING:** A numerical representation of the driver's performance rating. This data can help in managing and evaluating driver profiles for various purposes including driver performance assessment and validation of license details.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Table
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education