QuestionQ209

VerifiedData Processing & Transformations

Which of the following SQL keywords can be used to convert a table from a long format to a wide format?

Explanation

PIVOT is the SQL operation that rotates values from rows into columns, converting data from long format (many rows, few columns) to wide format (few rows, many columns). This is the standard and only mechanism in SQL for this transformation.

Community Discussion

No comments yet. Be the first to start the discussion!