I have a table with five fields,
| Zip code | Data 1 | Data 2 | Data 3 | Code |
The Data 1, 2, and 3 can have duplicates, so my goal is to gather all three fields and find the unique rows and assign a code to them, therefore they can reflect it to all the other row in the table
| Data 1 | Data 2 | Data 3 | Code |
| __A__ |__ B__ |__ C__ |_ C1_ |
| __A__ |__ B__ |__ C__ |_ C1_ |
| __A__ |__ B__ |______ |_ C2_ |
| __A__ |__ B__ |__ C__ |_ C1_ |
| __A__ |__ B__ |______ |_ C2_ |
What I have tired so far is I created a query which selected all unique rows for the list of tables I just dont know how to assign it a code can anyone help me? If my explanation needs more detail please let me know, Thank you!