WITH OrderedOrders
AS (SELECT SalesOrderID, OrderDate, ROW_NUMBER() OVER (ORDER BY OrderDate) AS 'RowNumber'
        FROM Sales.SalesOrderHeader)
  SELECT  *
    FROM OrderedOrders
    WHERE RowNumber BETWEEN 5 AND 20
        Skyvia Query allows you to run SQL queries against databases and cloud applications from web browser. Access and manage your data from anywhere, build reports, arrange your data in the most informative way and simplify your decision-making process easily!
