I'm looking to merge a number of records with the same Id into one record per Id. I have had to use pivot tables to get the data I need from multiple other tables and into an interim table that looks something like this:
ID |Data1|Data2|Data3|Data4
1 asdf NULL NULL NULL
1 NULL blah NULL NULL
1 NULL NULL this NULL
1 NULL NULL NULL data
2 NULL funk NULL NULL
2 NULL NULL jazz NULL
And I would like to find a way to merge all records with the same Id into a new record in a new table that looks like this:
ID |Data1|Data2|Data3|Data4
1 asdf blah this data
2 NULL funk jazz NULL
I have looked through multiple other similar questions on here and other websites that seem to be dealing with numerical values in the fields such as this one (Merge multiple rows with same ID into one row). These do not have the desired effect. Any help would be appreciated.