Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - SQL 参考 » SQL 函数 » 函数

 

PERCENT_RANK 函数 [Ranking]

对于任意的行 X(由函数的参数和 ORDER BY 说明来定义),PERCENT_RANK 函数计算其排位的方法是:用行 X 减 1 除以组中的行数。

 语法
 返回值
 注释
 另请参见
 标准和兼容性
 示例