题解 | #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可以在查询的时候选择一个字段对应多种选择的情况
Where in 和Not in
https://www.nowcoder.com/practice/0355033fc2244cdaa09b2bd6e794c762
select device_id,gender,age,university,gpa from user_profile where university in('北京大学','复旦大学','山东大学')
用in可以在查询的时候选择一个字段对应多种选择的情况
相关推荐