The SQL standard imposes a constraint on window functions that they cannot be used in UPDATE or DELETE statements to update rows. Using such functions in a subquery of these statements (to select rows) is permitted.
标准的SQL对窗口函数使用的update, delete语句中进行行更新进行约束. 但支持在这些语句的子查询中使用这样的函数(以选择行).