题解 | #子查询#

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

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

select
    title,
    description
from film
where film_id in (
    select film_id
    from film_category
    where category_id in (
        select category_id
        from category
        where name = 'Action'
    )
);

全部评论

相关推荐

09-24 18:30
已编辑
长春工业大学 产品经理
小肥罗:HR就是好人的缩写哈哈哈哈
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务