题解 | #筛选限定昵称成就值活跃日期的用户#

筛选限定昵称成就值活跃日期的用户

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

select 
distinct a.uid,
a.nick_name,
a.achievement
from 
user_info a
left join exam_record b
on a.uid=b.uid 
left join practice_record c
on a.uid=c.uid
where left(a.nick_name,2)='牛客'
and right(a.nick_name,1)='号'
and a.achievement>=1200 
and a.achievement<=2500
and (date_format(b.start_time,'%Y%m')='202109'
or date_format(c.submit_time,'%Y%m')='202109')

全部评论

相关推荐

08-11 14:30
中南大学
点赞 评论 收藏
分享
07-07 12:25
门头沟学院 Java
程序员牛肉:你这个智邮公司做的就是那个乐山市税务系统的服务吗?
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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