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 quanity 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; ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear