Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1 Design Context ERD Identify at least 1 0 entities Identify all the relationships between the entities. This should include at least one M:N

Task 1 Design Context ERD Identify at least 10 entities Identify all the relationships between the entities. This should include at least one M:N relationship Identify the correct cardinalities for each entityTask 2 Design Physical ERD Include relevant key and non-key attributes for each entity Include data type and size for each attribute Resolve the M:N relationships and add a description of them in the report (at least one) Generate database implementation script. This should include code to implement at least 10 entities along with relevant attributes and key constraints.Task 3In 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 5 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.1. List drivers and the total number of rides they have completed.2.Find the average rating of drivers who have completed more than 50 rides.3. List the names of passengers who have used CityWheelsBH more than 20 times.4. Identify drivers who have never received a rating below 4.5. Find the total number of rides completed in each month of the current year.6. Show drivers who have completed rides with at least three different passengers.7. Determine the most popular destination among all rides. 8. Identify the most common issue reported in support tickets.9. Show the total earnings for each driver in the current year.10. Get a list of all promotions that are currently active and expire within the next 30 days.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions