SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select film_id, title, group_concat(distinct store_id) as store_id, count(*) as quantity from inventory join film on film.film_id = inventory.film_id group by film_id having count(distinct store_id) < 2 order by film_id;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear