RANK
Window Function
Description
The RANK window function determines the rank of a value in a group of values, based on the ORDER BY expression in the OVER clause. If the optional PARTITION BY clause is present, the rankings are reset for each group of rows.
For more information, please refer to RANK function.
Grammar Syntax
This function is supported by Snowflake. However 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.
Sample Source Patterns
Input Code:
IN -> Redshift_01.sql
Output Code:
OUT -> Redshift_01.sql
Related EWIs
There are no known issues.
Last updated