SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT DAYOFWEEK(r.rental_date) AS dow, COUNT(r.rental_id) AS rentals_count FROM rental r GROUP BY dow ORDER BY rentals_count DESC; ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear