SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT t.film_id, t.title FROM( SELECT f.film_id, f.title, inventory_id FROM film f LEFT JOIN inventory i ON f.film_id = i.film_id WHERE i.inventory_id IS NULL) as t JOIN rental r USING(inventory_id) WHERE '2005-08-01' between r.rental_date and r.return_date

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear