select user_profile.device_id,user_profile.gender,user_profile.age,user_profile.university,user_profile.gpa
from user_profile
where (user_profile.gpa>3.5 and user_profile.university="山东大学")
or (user_profile.gpa>3.8 and user_profile.university="复旦大学")
from user_profile
where (user_profile.gpa>3.5 and user_profile.university="山东大学")
or (user_profile.gpa>3.8 and user_profile.university="复旦大学")