ROW_NUMBER
Window Function
Last updated
Window Function
Last updated
The ROW_NUMBER window function assigns an ordinal number of the current row within a group of rows, counting from 1, based on the ORDER BY expression in the OVER clause. (RedShift SQL Language Reference ROW_NUMBER window function)
This function is fully supported in Snowflake.
The ORDER BY
clause is mandatory in Snowflake. In case it doesn't exist, an ORDER BY 1
will be added in order to ensure full equivalence.
For more information about quoted identifiers in functions, .
Output Code:
No issues were found.
There are no known issues.