select deptno,sal,last_value(sal)over(partition by deptno order by sal) sum from emp where deptno=10;为什么sum的三行结果都是不一样的啊不是取得sal排序后的最后一个值吗
理论是一样才对