题解 | #查找山东大学或者性别为男生的信息#

查找山东大学或者性别为男生的信息

https://www.nowcoder.com/practice/979b1a5a16d44afaba5191b22152f64a

select
    device_id,
    gender,
    age,
    gpa
from
    user_profile user
where
    user.university = '山东大学'
union all
select
    device_id,
    gender,
    age,
    gpa
from user_profile user
where user.gender = 'male'

全部评论

相关推荐

Peach33:项目的 “完整度”“你的思考深度” 和 “能匹配岗位的基础能力”,远比 “复杂度” 更重要。
点赞 评论 收藏
分享
头像 会员标识
08-20 18:46
门头沟学院 C++
投递华为技术有限公司等公司10个岗位
点赞 评论 收藏
分享
09-25 15:55
门头沟学院 Java
小肥罗:有道理哈哈真实真实
我的秋招日记
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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