I am familiarizing myself with a data table that has numerous columns for descriptions of individuals' job roles. I would like to return a table that lists in each column the distinct values present in the table for each column.
I understand how to return a list of distincts for a single column, but I would like all my results in one table, adjacent to each other. Order doesn't matter.
Exemplary input, where each row is one employee:
--title-- --function-- --class--
analyst sleeping professional
analyst sleeping ED
analyst sleeping MD
scientist observing VP
scientist managing VP
scientist researching associate
Expected output:
--title-- --function-- --class--
analyst sleeping professional
scientist observing ED
managing MD
researching VP
associate