Uber is a transportation network company founded in 2009 that connects drivers with riders through a mobile app. The app allows users to arrange and schedule rides with third-party transportation providers. Uber also offers food delivery through UberEATS and logistics services like delivering packages through UberRUSH. The database models these entities and their relationships to store information about people, customers, drivers, vehicles, and ride details for analytics and monitoring company growth.
1. By: Zachary Pappas, Jonathon Ydrogo, Janet Huong, Ting Yan, and Andrew Dixon
1
2. Summary
★ Founded 2009 in San Francisco, California
★ Application connecting drivers with people who need a ride
★ Allows customers to arrange and schedule transportation and/or logistics
services with third party providers
★ Provides business travel for employees
★ UberRUSH delivers for Shopify, Clover, Delivery.com, 1800Flowers, etc.
★ UberEATS gets you the food you want from the restaurants you love. Open
the app, find what you're craving, and it is delivered to you.
2
3. Business Rules
1. Drivers must be over 18 years old
2. Drivers must have a driver’s license
3. Customers must have a credit card
4. Drivers’ vehicle must be insured
5. Drivers must have at least one vehicle; one vehicle can only belong to many
drivers
6. Vehicle cannot be older than 10 calendar years
7. One paying customer per ride request
8. Customers’ geographic information and destination location will be collected
upon ride request
3
4. Business Rules
1. Active drivers’ geographic information will always be displayed to customers
2. Customers’ geographic information will be sent to driver after ride request is
accepted by driver
3. After ride is complete, information about the ride will be stored (ex. customer
ratings, driver ratings, price, distance, duration)
4. Each ride will be identified by an identification number
5. Each person will be identified by an identification number
6. Each vehicle will be identified by its VIN
7. Drivers can have one or many ride requests
8. Ride requests can only have one driver
9. Customer and driver reviews are optional 4
9. Query #1
Determine which rides were longer than 10 miles:
select order_ID
from ride
where distance > '10.0';
9
10. Query #2
Determine which vehicles are greater than 2010:
select model
from vehicle
where year>'2010';
10
11. Query #3
Show which drivers were associated with customer ID 77182804:
select customer_ID, driver_ID
from ride
where customer_ID='77182804';
11
12. Query #4
Determine the first name, last name, and DOB of all
persons born before July 16, 1991:
Select firstname, lastname, DOB
from person
where DOB<'16-jul-91';
12
13. Query #5
Shows the current age of the individual
select firstname, lastname, DOB,
round((sysdate-DOB)/'365') age
from person;
13
14. Conclusion
The database provides storage for company information including:
● Person Information
● Customer Information
● Driver Information
● Vehicle Information
● Ride Information
The data collected can be used to analyze and monitor company progression.
The data can also help to determine the need for additional vendors in different
locations.
14