hopefully someone can help me with this. I have a table that looks like the following
ID | Column | New Value | ModifiedDate
223 | Num | 98 | 03/01/2018
223 | Country| IRE | 03/01/2018
223 | User | Bob | 03/01/2018
222 | User | Lily | 01/01/2018
222 | Num | 72 | 01/01/2018
222 | Country| UK | 01/01/2018
222 | User | Wendy | 02/01/2018
222 | Num | 22 | 02/01/2018
222 | Country| UK | 02/01/2018
I want a query that somehow merges all this into rows based on ID and modified date. So for the above table, I want the following output
ID | Num | Country | User | Modified Date
222 | 72 | UK | Lily | 01/01/2018
222 | 22 | UK |Wendy | 02/01/2018
223 | 98 | IRE | Bob | 03/01/2018
Can someone help with this? I have looked for similar problems on here but can't find anything that actually works when I use it against my table?
Also, the number of IDs can change so it would have to be dynamic?
Many thanks for any help!!