题解 | #学生数不大于2的学校的学生情况#

学生数不大于2的学校的学生情况

https://www.nowcoder.com/practice/183822a9122642c491c61ec4d479fddb

select university,
    count(device_id) as cnt, 
    group_concat(distinct device_id order by id asc separator';') as device_list
from user_profile
group by university
having count(device_id)<3
全部评论

相关推荐

🐭🐭不想面试啦�...:哈哈哈哈,是hc稀缺是吧。一边稀缺,一边后端简历多到捞不出来
点赞 评论 收藏
分享
09-01 16:09
门头沟学院 Java
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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