题解 | #每个用户的第一有效信息#

每个用户的第一有效信息

https://www.nowcoder.com/practice/4408f866778b44c5bcebf17c386d7d13

select device_id , case when answer_cnt then concat('答题数:',answer_cnt)
                        when gpa        then concat('gpa:',gpa)
                        when age        then concat('年龄:',age)
                        else '暂无关键信息' end as key_info  
from user_profile 
order by device_id;

全部评论

相关推荐

06-07 19:59
门头沟学院 C++
补药卡我啊😭:都快15年前的了还在11新特性
你的简历改到第几版了
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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