PostgreSQL - Window Functions in PostgreSQL
What is the main purpose of the
LAG function in PostgreSQL?LAG function in PostgreSQL?LAG function returns the value from a previous row based on the current row's position.LEAD accesses the next row, sorting and deleting duplicates are unrelated to LAG.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions