Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Given data and the following query,
deptno empno bonus salary 30 7698 NULL 2850.0 30 7900 NULL 950.0 30 7844 0 1500.0 select avg(salary) over (partition by deptno order by bonus range 200 preceding) from emp2;
It produces incorrect result for the row in which bonus=0
1900.0
1900.0
1766.6666666666667
Attachments
Attachments
Issue Links
- links to