I have two columns one with pick objects and another with unpicked objects for each client.
I need to create a column with the final objects for example:
| Customer_ID | Picked. | Unpicked. | . Final Cart |
|---|---|---|---|
| 799235 | shirt, pants, glasses | . glasses. | shirt, pants |
| 799246 | dress, pants, glasses | . pants, dresses | glasses |
I was trying to do this in Snowflake but it looks like none of the defined functions work.
And a customer can add and remove an item as many times as they want, I'm only interested in the final values.