Tag archive
Commands grouped around the same concept, pattern, or recurring problem.
Reshape a wide table by turning multiple columns into key-value row pairs — the inverse of a PIVOT operation.
Turn distinct row values into separate columns using `CASE WHEN` inside an aggregate.