select device_id, gpa, age from user_profile order by gpa asc,age asc; 直接在order by的条件中加入,即可。 默认排序为asc所以可以直接去掉两个asc select device_id, gpa, age from user_profile order by gpa, age ;