SQL - Advanced Query Patterns
You wrote this query to unpivot sales data:
But it returns an error. What is the likely cause?
SELECT Product, Quarter, Sales FROM SalesData UNPIVOT (Sales FOR Quarter IN (Q1, Q2, Q3)) AS Unpvt;
But it returns an error. What is the likely cause?
