题解 | #查找除复旦大学的用户信息#
查找除复旦大学的用户信息
https://www.nowcoder.com/practice/c12a056497404d1ea782308a7b821f9c
-- 本题考察的是过滤掉(去除)学校为'复旦大学'的用户信息, 可以使用 not in (条件), 意思是:查询 不在 not in 条件 的所有数据。 那么我们要查询的是除了复旦大学的所有信息, 只要不在条件为'复旦大学'的数据都可以查询出来 满足了过滤掉为'复旦大学'的条件 select device_id,gender,age,university from user_profile where university not in('复旦大学')