Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
SELECT store_id, return_date, COUNT(inventory_id) FROM inventory JOIN rental USING(inventory_id) WHERE return_date BETWEEN '2005-06-01 00:00:00' AND '2005-06-01 23:59:59' GROUP BY 1, 2 ORDER BY 2

Stuck with a problem? Got Error? Ask AI support!

Copy Clear