SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select distinct DAYOFWEEK(rental_date) as dow,count(inventory.inventory_id) as rentals_count from rental inner join inventory on rental.inventory_id = inventory.inventory_id group by rental_id order by count(rental_id) limit 7
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear