题解 | #查找山东大学男生的GPA#

查找山东大学男生的GPA

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

select device_id,gender,age,gpa
from user_profile
where university='山东大学' 
union all
select device_id,gender,age,gpa
from user_profile
where  gender='male'
  1. 分别查看: 用unoin
  2. 不去重: 在union后面加上 all
全部评论
分别查看: 用unoin 单词应该是union
点赞 回复 分享
发布于 2022-11-24 15:12 上海

相关推荐

评论
2
收藏
分享

创作者周榜

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