What does the SQL PIVOT operation do?

SQL Hard
Select the correct answer: Single Choice

Key points

  • PIVOT transforms rows into columns with aggregated values
  • It helps in creating a more concise and structured output
  • PIVOT is useful for analyzing data across different categories

Ready to go further?