Pivot the Occupation column in OCCUPATIONS so that each Name is sorted alphabetically and displayed underneath its corresponding Occupation. The output should consist of four columns (Doctor, ...
description: Learn about the Transact-SQL PIVOT and UNPIVOT relational operators. Use these operators on SELECT statements to change a table-valued expression into another table. You can use the ...
OK, I am not sure how to describe this. I guess I want to flatten a table into two columns... so basically pivot. Though I can't aggregate it like I could if it was quarter 1 sales, etc... <BR><BR>I'm ...