Редактиране:Модифициран код, така че да съответства по-точно на намеренията на OP
Declare @RowNum as INT
SET @RowNum = 15 ---Just for example
WITH OrdersRN AS
(
SELECT ROW_NUMBER() OVER(ORDER BY OrderDate, OrderID) AS RowNum
,OrderID
,OrderDate
,CustomerID
,EmployeeID
FROM dbo.Orders
)
SELECT *
FROM OrdersRN
WHERE RowNum = @RowNum
ORDER BY OrderDate
,OrderID;