Back to Developer Roadmap

Pivot / Unpivot Operations

src/data/roadmaps/sql/content/[email protected]

4.0557 B
Original Source

Pivot / Unpivot Operations

Pivot and unpivot operations transform the structure of data within a table. Pivoting rotates rows into columns, aggregating data based on common values. Conversely, unpivoting transforms columns into rows, often expanding a table's length while reducing its width. These operations are useful for reshaping data for reporting or analysis.

Visit the following resources to learn more: