先三表联查 输出有分类的电影id
select film_id
from film join film_category using(film_id)
join category using(category_id)
然后 查找所有 film_id 不在有分类电影id 即是没有分类的电影
select film_id,title
from film
where film_id not in
(select film_id
from film join film_category using(film_id)
join category using(category_id));