Support the project! The site exists thanks to the community. If the help covers the expenses - the platform remains free.Support →
SQL code copied to buffer
Task 58:

Calculate the percentage of delays

In previous task you found out the number of delayed disks. Now calculate the percentage of delays in the total number of rentals for each rental location.
Output the result in two columns store_id and delayed_percent

Use MySQL syntax to write your answer. Descriptions of tables are provided in the right pane.

Write your request in the field below and click the "Check it!" button.
Get hint
Copy code Clear editor

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.