Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
该文档没有提到对元素进行排序
作为示例,我将通过 SAMPLES 命名空间中的 Sample.Employee 类显示 sql 查询,其中 Spouse 和 Company 属性是关系。->您可以通过别名访问相关对象。
->
SELECT title, Spouse->Name, Company->Name as CompanyName FROM sample.employee ORDER BY CompanyName