10.5. Named Windows
The WINDOW
clause can be used to explicitly name a window, for example to avoid repetitive or confusing expression.
A named window can be used
in the
OVER
clause to reference a window definition, e.g.OVER window_name
as a base window of another named or inline (
OVER
) window, if it is not a window with a frame (ROWS
orRANGE
clauses)ⓘNoteA window with a base windows cannot have
PARTITION BY
, nor override the ordering (ORDER BY
) of a base window.