select device_id,gender,age,university,gpa from user_profile where university = "山东大学" AND gpa >3.5 OR university = "复旦大学" AND gpa >3.8