Tags / unpivot
Unpivoting Holiday Hours in SQL Server Using Dynamic SQL and Table-Valued Functions
5 Effective Ways to Sum Dates in PostgreSQL Using Lateral Join
Using SQL and UNION ALL to Aggregate Data from Multiple Columns
**Unpivoting Data in SQL Server**
How to Create a Pivot Table in Oracle SQL Without Using Aggregate Functions