题解 | #使用子查询的方式找出属于Action分类的所有电影对应的title,description#

使用子查询的方式找出属于Action分类的所有电影对应的title,description

http://www.nowcoder.com/practice/2f2e556d335d469f96b91b212c4c203e

左连接+子查询

select f.title,f.description
from film f left join film_category fc on f.film_id=fc.film_id
where fc.category_id=(
select category_id
from category
where name='Action')
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务