Loading
PIVOT rotates a table-valued expression by turning the unique values from one column in the expression into multiple columns in the output, and performs aggregations where they are required on any remaining column values that are wanted in the final output.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.