similar to the proposal of @Timothy Leavitt you use a Sub-Select for sorting
and do the output in the outer SELECT
SELECT Name, SSN, Home_State, Home_Street, Age, Company, DOB FROM (
SELECT top all * FROM Sample.Person
order by ID desc
)
As you use Caché you may try in Namespace SAMPLES
- Log in to post comments
.png)
.png)
.png)
.png)
.png)
.png)
.png)