select device_id,gender,age,university,gpa from user_profile where university in ('北京大学','复旦大学','山东大学'); 本题考查了in 和 not in 的使用in (option1,option2,……) 满足option中的任意一个,就算满足条件,则可查询出来not in (option1,option2,……) 满足option中的任意一个,就算不满足条件。要想查询出来,需要都不满足