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
with a as (select first_name , last_name , email, /*ROW_NUMBER() OVER(PARTITION BY rental.customer_id ORDER BY rental_date) as a1,*/inventory_id,rental_date from rental /*(select * from rental where rental.inventory_id = 30) */ join customer on rental.customer_id = customer.customer_id) /*join address on customer.address_id = address.address_id*/ /*select first_name , last_name , email, address,/*a1,inventory_id,rental_date from a /*order by a1 desc/* limit 1*/ select * from a

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

Copy Clear