SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT DAYOFWEEK(rental_date) AS dow, COUNT(inventory.film_id) AS rentals_count FROM rental JOIN inventory ON rental.inventory_id = inventory.inventory_id GROUP BY DAYOFWEEK(rental_date) ORDER BY rentals_count DESC ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear