SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select inventory.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 inventory.film_id having count(distinct store_id) < 2 order by title;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear