I have a table that has the following layout:
RecordID OptionID StudentID ClassID DEMOGRAPHIC DemographicOption
74276205 1283131 20348031 1766586 REGION East
74276205 866932 20348031 1766586 OFFICE Boston
74276205 867044 20348031 1766586 CAREER_LEVEL Manager
74276205 867016 20348031 1766586 FSS Con
74276205 867073 20348031 1766586 SERVICE_AREA Human Capital
74276205 1196052 20348031 1766586 SERVICE_LINE HR Transformation
74276205 1264928 20348031 1766586 INDUSTRY Life Sciences
I need to take the demographic column and make separate columns from the results that correspond to the labels in the demographic column.
How can do this I have tried a couple of things that end up with the results being on separate rows but I need the data on one row like below:
RecordID OptionID StudentID ClassID DEMOGRAPHIC REGION OFFICE CAREER_LEVEL FSS SERVICE_AREA SERVICE_LINE INDUSTRY
74276205 1283131 20348031 1766586 REGION East Boston Manager Con Human Capital HR Transformation Life Sciences
Any help with this is greatly appreciated.