"FIRST_VALUE() OVER () vs MAX() DENSE_RANK FIRST OVER()
799879Jul 29 2011 — edited Jul 29 2011I am trying to determine the differences between using the analytic function first_value vs using the DENSE_RANK FIRST OVER() style analytic function.
In particular, when is it appropriate to use one vs the other? Truthfully the DENSE_RANK FIRST OVER() seems like an much more flexible version of the first_value function.
Any enlightenment is much appreciated.