select device_id,university,gpa from user_profile a
where gpa = (
     select min(gpa) from user_profile 
     where university=a.university)
order by  university