Skip to main content
Window functions is a group of SQL functions, that operate on a partition or “window” of a result set, returning values for every row within that window. The following window functions and clauses are currently supported by Oxla:

Window Functions

Ranking Functions

Distribution Functions

Value Functions

Window Clause

Important Notes

There are a few essential things to remember when using window functions in Oxla:
  • Verify that you can effectively use window functions alongside the PARTITION BY, ORDER BY and FRAME clauses as part of your window specification
  • Ensure the window specification chaining is supported by executing the following command: SELECT SUM(i0) OVER w2 FROM tb1 WINDOW w1 AS (PARTITION BY i1), w2 AS (w1 ROWS CURRENT ROW)
  • The FRAME clause of the window specification is restricted to the ROWS clause and does not include frame exclusion