What is the primary function of the PIVOT clause in Spark SQL? | Databricks Certified Data Engineer - Associate Quiz - LeetQuiz