For example, I have the following table:
UserId Department1 Department2 ------------------------------ 1 Sales Marketing 2 Research 3 Sales And I want to get the following Results
DistinctDepartments ------------------- Sales Marketing Research I found lots of solutions that show me the distinct combined values of multiple columns, but I need the overall distinct values, as if all values would be in the same column.
Thankyou
Chris