Problem 2253 · Hard

Dynamic Unpivoting of a Table

SQL walkthrough with invented sample tables. Turn store price columns into product, store and price rows, skipping NULL prices.

Open the interactive visualisation