方法一:

思路:直接电影信息表 film left join 电影分类表 film_category 判断 category_id 是否为 null

代码:

select 
    f.film_id,f.title 
from 
    film f left join film_category fy on f.film_id = fy.film_id 
where 
    category_id is null