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

SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share code      Blog   Popular   FAQ

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

Copy Format Clear
SELECT c.first_name,c.last_name,c.email FROM customer c WHERE NOT EXISTS (SELECT 1 FROM rental r JOIN inventory i USING(inventory_id) WHERE r.inventory_id=i.inventory_id AND r.rental_date IS NULL) ORDER BY 1

Stuck with a problem? Got Error? Ask ChatGPT!