Joining one to many relational table



I have two tables: Table1 has A,A,B,B,B and Table2 has A, B. I want to join
Table1 with Table2 and update Table1, but I want to update only 1 for A and 1
for B in Table1. How will I do it?
.


Loading