Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this section you will need to take the code you generated from your design and run it on SQL developer to create all of
In this section you will need to take the code you generated from your design and run it on SQL developer to create all of your tables. You will then need to populate all of these tables with sample data. To each table you will need to add at least sample rows of data. After doing so you will need to write a single SQL statement for each of the given tasks below. In your report you will need to include all of your insert statements and all of the SQL statements you have written numbered correctly. You will also provide screenshots of the output from each query.
List drivers and the total number of rides they have completed.
Find the average rating of drivers who have completed more than rides.
List the names of passengers who have used CityWheelsBH more than times.
Identify drivers who have never received a rating below
Find the total number of rides completed in each month of the current year.
Show drivers who have completed rides with at least three different passengers.
Determine the most popular destination among all rides.
Identify the most common issue reported in support tickets.
Show the total earnings for each driver in the current year.
Get a list of all promotions that are currently active and expire within the next days.
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