select device_id, gpa, age from user_profile order by gpa desc, age desc; order by +属性+后面不写默认为升序 每个属性后面都要有排序的顺序
相关推荐