select device_id,gender,age,university from user_profile where university != '复旦大学' #注意sql中的!=,not in, is not 的区别