I am trying to write a SQL query in MSSQL 2008 that will match the column values from a single query into a new column on a table where the column headers are stored as row