select a.device_id,a.university,a.gpa from ( select a.device_id,a.university,gpa,min(gpa) over(partition by a.university) mingpa from user_profile a ) a where a.gpa = mingpa