select device_id, gender, age, university, gpa from user_profile where university='北京大学' or gpa>3.7;