FOR Month IN (January, February, March, April, May, June, July, August, September, October, November, December))

FOR Month IN (January, February, March, April, May, June, July, August, September, October, November, December))

AS MonthNamePivot

Answer: 1 SELECT * FROM

2 (SELECT YEAR(SalesData)) AS Year, DATENAME (MONTH, SalesDate) AS Month, SalesAmount AS Amount

3 FROM Products.Sales

4 ) AS MonthlySalesData

5 PIVOT SUM(Amount)

6 FOR Month IN (January, February, March, April, May, June, July, August, September, October, November, December)) AS MonthNamePivot

Latest 70-761 Dumps Valid Version with 212 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments