Problem 2388 · Easy

Change Null Values in a Table to the Previous Value

SQL walkthrough with invented sample rows. Walk the table in id order and fill each missing drink with the nearest earlier drink.

Open the interactive visualisation