题解 | #查找除复旦大学的用户信息#

查找除复旦大学的用户信息

https://www.nowcoder.com/practice/c12a056497404d1ea782308a7b821f9c

--方法一:不等于→"!="
Select device_id, gender, age, university
From user_profile
where university != '复旦大学'

--方法二:not like
Select device_id, gender, age, university
FROM user_profile
where university not like '复旦大学'

--方法三:not in ( )
select device_id, gender, age, university
from user_profile
where university not in ('复旦大学')

--方法四:不等于→"<>
select device_id, gender, age, university
from user_profile
where university <> '复旦大学'

全部评论

相关推荐

07-09 20:50
门头沟学院 Java
码农索隆:1.教育背景和荣誉证书合二为一。 2.获奖项目理一遍,你做了什么,对你求职的岗位有什么帮助,没有就删掉。 3.技能特长和教育背景交换位置。 4.技能特长写的太差,上网上找简历参考。都不用问你别的,一个redis就能把你问住,写写你具体会redis哪些方面的知识。
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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