Code:
-- Fills in the blanks of the items table by joining each item change record -- to the previous valid record for the same item, to allow retrival of last "real" price change select * from ( select a.id, coalesce(a.priceChange, b.priceChange) as priceChange, ROW_NUMBER() OVER (PARTITION
Leave a comment: