12.21.5 Window Function Restrictions窗口函数限制

The SQL standard imposes a constraint on window functions that they cannot be used in UPDATE or DELETE statements to update rows. SQL标准对窗口函数施加了一个约束,它们不能在UPDATE语句或DELETE语句中用于更新行。Using such functions in a subquery of these statements (to select rows) is permitted.允许在这些语句的子查询中使用这些函数(选择行)。

MySQL does not support these window function features:MySQL不支持以下窗口功能:

The parser recognizes these window constructs which nevertheless are not supported:解析器可以识别这些不受支持的窗口构造: