Hi,
In my query I am trying to use LEAD function with IGNORE NULLS option. The code is as below:
LEAD(COLUMN1 IGNORE NULLS)OVER(ORDER BY DATE_COLUMN DESC)
It gives a warning as: '[Error] Syntax check (4: 18): ERROR line 5, col 19, ending_line 5, ending_col 22, Found 'LEAD', Only FIRST_VALUE and LAST_VALUE are valid with IGNORE NULLS'
However when I run the query it works fine without any error. Why am i getting this warning?
My oracle version is; Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Thanks,
Anjali