Tags / unpivot
Converting Columns to Rows Using SQL Server's CROSS APPLY and VALUES Function
Dynamic Unpivoting: A Guide to Transforming Tables with Columns of Different Types
Pivot Functionality: Unpacking and Implementing the Concept with SQL
Calculating the Difference between Two Averages in PostgreSQL: A Step-by-Step Guide to Efficient Data Analysis and Manipulation