Explanation
A proposal is ORDER BYallowed in two situations: when there is TOP(or OFFSET/FETCH) and in the outermost query a series of queries / subqueries that work together as a single query. Now you canβt use a ORDER BYquery in the internal context without a suggestion TOP, as you know. But additionally, when two situations ( TOPcompared to external ones) conflict, the most external request context takes precedence.
UNION, EXCEPT INTERSECT, , ORDER BY, , . , , - , .
EXCEPT ed , , ORDER BY.
SQL Server 2012 , OFFSET FETCH :
SELECT model, price
FROM dbo.PC
ORDER BY price DESC
OFFSET 9 ROWS
FETCH NEXT 1 ROWS ONLY;
, , , , . , :
, -, , ( ) .