Hitachi

Hitachi Advanced Database SQL Reference


7.23.2 Rules for specifying windows (partitions)

This subsection describes how rows are split into windows (partitions) and the order of rows inside the windows (partitions).

Organization of this subsection

(1) How rows are split into windows (partitions)

The set of rows from the table to which the window specification applies is split into windows (partitions) based on the result of the value expression specified in the window partition clause. The rows that make up the windows (partitions) are determined according to the following rules:

(2) Order of rows inside the windows (partitions)

The order of rows inside the windows (partitions) is as follows: