Can you do something like this? (this would be possible in SQL Server)SELECT *FROM( SELECT DISTINCT Col1, COl2, ... FROM MyTable) AS XORDER BY las
Note that you can NOT do this:SELECT DISTINCT Col1, Col2FROM MyTableORDER BY ColXbecause if you use DISTINCT then ColX MUST be in the column list of the SELECT, which you could get around [I think!] with SQL Server using:SELECT Col1, Col2 -- No LAS column hereFROM( SELECT Col1, Col2, las FROM MyTable ORDER BY las) AS X
Kristen