Hi all,
I have about 1.500 rows in an alteryx flow. I need to look through and SQL table of 15m rows and find these 1.500 rows, and then update them in the SQL table. The problem is there is no primary key. The only way to identify unique rows is by a combination of customer number and date. So a snippet of what I need to do:
Use this table:
| CustomerNumber | Date | IsRecent |
| 2222 | 05-31-2018 | 100.000 |
To look for matches on CustomerNumber and Date (I.e. CustomerNumber=2222 and Date=05-31-2018)
| CustomerNumber | Date | Revenue |
| 1111 | 05-31-2018 | 50.000 |
| 2222 | 05-31-2018 | 9.000 |
| 3333 | 05-31-2018 | 75.000 |
And then update those matches with the new values so the table becomes:
| CustomerNumber | Date | Revenue |
| 1111 | 05-31-2018 | 50.000 |
| 2222 | 05-31-2018 | 100.000 |
| 3333 | 05-31-2018 | 75.000 |