foxr4 Liked 2 Years ago through
Blogs
Lag Function
Purpose: This function returns result set starting from the previous row in the table.
Syntax: Lag(expression [,offset [,default] ] ) over( [ Partition_By_clause] order by clause)
Where,
Expression => A table column or built-in fun...