SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select * from (select customer_id, count(*) from rental join inventory using(inventory_id) group by customer_id order by 2 desc limit 4) tt #inner join customer using(customer_id)

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear