PostgreSQL: Forward fill NULL values with previous NOT NULL value in group
I'm trying fill NULL values in multiple columns (different column types INT, VARCHAR) with previous NOT NULL value in a group ordered by date. Considering following table: CREATE TABLE IF NOT EXISTS test ( id VARCHAR, date DATE, value_1 INT,…