14.10. order by子句
查询返回的列表(list)可以按照一个返回的类或组件(components)中的任何属性(property)进行排序:
from DomesticCat cat
order by cat.name asc, cat.weight desc, cat.birthdate
可选的asc
或desc
关键字指明了按照升序或降序进行排序.
当前内容版权归 wizardforcel 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 wizardforcel .