Answered step by step
Verified Expert Solution
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 Design Context ERD Identify at least entities Identify all the relationships between the entities. This should include at least one M:N relationship Identify the correct cardinalities for each entityTask Design Physical ERD Include relevant key and nonkey 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 entities along with relevant attributes and key constraints.Task 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 completedFind 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