DENSE_RANK
Window Function
Description
The DENSE_RANK window function determines the rank of a value in a group of values, based on the ORDER BY expression in the OVER clause. The DENSE_RANK function differs from RANK in one respect: if two or more rows tie, there is no gap in the sequence of ranked values.
For more information, please refer to DENSE_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