题解 |某乎回答过教育类问题的用户有多少用户回答过职场类问题

某乎问答回答过教育类问题的用户里有多少用户回答过职场类问题

https://www.nowcoder.com/practice/b02cf9ee7b9f4cdda308f8155ff3415d

select count(distinct author_id) as num
from (
    select a.author_id, a.issue_id, b.issue_type
    from answer_tb as a
    left join issue_tb as b
    on a.issue_id = b.issue_id
) as d
where author_id in (
    select distinct author_id
    from (
        select a.author_id, a.issue_id, b.issue_type
        from answer_tb as a
        left join issue_tb as b
        on a.issue_id = b.issue_id
    ) as c
    where issue_type = 'Education'
) and issue_type = 'Career';

全部评论
我的又臭又长的代码
点赞 回复 分享
发布于 2023-08-03 13:46 江苏

相关推荐

菠落蜜:这个是系统自动投的,不是hr主动打招呼。更抽象的还有ai回复
我的秋招日记
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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