57.2.12 Query Store: Command: Order By: Cross-Relational Sort
Sometimes, you need to sort on a field that is in a different table--a related parent table:
As you can see this Order by is for the [Location] table but uses the [HospitalRecord] table for its Order. This can be done as the [HospitalRecord] table is directly related to the [Location] table and the [HospitalRecord] table is the ONE table. See the Database Schema for more details Database Schema: Table Relationships on page 507.
|