SQL Pivot: Converting Rows to Columns - The Databricks Blog