I'm having trouble finding a way to merge two arrays with common values. What I'm trying to create is an array to be used as an archive of sorts for customer attributes which're aren't needed in the immediate future.
I've whipped up a DB fiddle as an example of the data I'm working with.
CodePudding user response: