Overview of GoogleSQL Numbering Functions
masterGoogleSQL supports numbering functions, which are a subset of window functions. These functions assign values to each row based on their position within a specified window using an OVER clause.
Supported numbering functions include:
CUME_DIST: Cumulative distribution (relative position (0,1]).DENSE_RANK: Dense rank (1-based, no gaps).IS_FIRST: Returnstrueif the row is within the firstkrows.IS_LAST: Returnstrueif the row is within the lastkrows.NTILE: Quantile bucket number (1-based).PERCENT_RANK: Percentile rank (from 0 to 1).RANK: Rank (1-based).ROW_NUMBER: Sequential row number (1-based).