题解 | #大小写混乱时的筛选统计#

大小写混乱时的筛选统计

https://www.nowcoder.com/practice/81cb12931a604811ae69d332515c7734

with tag_3 as (
    select tag, count(start_time) answer_cnt
    from exam_record
    left join examination_info using (exam_id)
    group by tag
)  
    select b.tag, a.answer_cnt
    from tag_3 a 
    left join tag_3 b
    on a.tag = upper(b.tag)
    where b.answer_cnt < 3
    and a.tag != b.tag
没读懂题,看大佬的答案才知道到底要做什么
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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