题解 | #使用join找出没有分类的电影id以及名称#
使用join查询方式找出没有分类的电影id以及名称
https://www.nowcoder.com/practice/a158fa6e79274ac497832697b4b83658
根据需要的字段,这里只需要两张表。判断为空的方法是 "is null",实测 = '' / isnull / is None都不行,只能一个个尝试了
select f.film_id,f.title from film f left join film_category fc on f.film_id = fc.film_id where fc.category_id is null