题解 | 使用子查询的方式找出属于Action分类的所有电影对应的title,description
使用子查询的方式找出属于Action分类的所有电影对应的title,description
https://www.nowcoder.com/practice/2f2e556d335d469f96b91b212c4c203e
select f.title,f.description from film f join film_category fc on fc.film_id=f.film_id--表1和表3连接起来 where fc.category_id= (select c.category_id --子查询:找出名字为Action的category_id from category c WHERE c.name = 'Action')