题解 | #查找除复旦大学的信息#大佬们,和IN操作比哪不好
查找除复旦大学的用户信息
https://www.nowcoder.com/practice/c12a056497404d1ea782308a7b821f9c
select device_id,gender,age,university from user_profile where university != '复旦大学';
虽然成功,但是还是感觉in比较好,SELECT device_id,gender,age,university FROM user_profile
WHERE university NOT IN ('复旦大学')