Useful to access data from a previous row with an optional row offset;
select LAG([, offset[, default]])
select LAG(customer, 3)
What can we help you with?
Useful to access data from a previous row with an optional row offset;
select LAG([, offset[, default]])
select LAG(customer, 3)