题解 | #Where in 和Not in#

Where in 和Not in

https://www.nowcoder.com/practice/0355033fc2244cdaa09b2bd6e794c762

select device_id,gender,age,university,gpa
from user_profile
where university in ("北京大学","复旦大学","山东大学")

这个题目主要考察了条件筛选里面的 in,由于测试集包含了多个大学,这里也不方便使用 not in 。

in 在实际工作中,使用频率较高。

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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