SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select f.title as film, date_format(rental_date, '%Y-%m') as rental_month, count(rental_date) as rental_count from film f join inventory i on f.film_id = i.film_id join rental r on i.inventory_id = r.inventory_id where f.title = 'BUCKET BROTHERHOOD' group by rental_date order by rental_date;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear