I have a table in Sql Server 2008 with these columns in it.
Month, Company, BillableQuantity, BilledAmount, Sales Tax
I need to display the data in this format
Company, Type, June, July, August....
I have attached a sample spreadsheet. I can not figure out how to write the query to both pivot and unpivot this data. Please help create this query.