SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT customer_id, monthname(rential_date) rental_month, count(*) num_rentals FROM rental GROUP BY customer_id, monthname(rental_date) ORDER BY 2, 3 DESC

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear