I'm trying to use the following code to update my underlying table, FinancialsTest:
with AddressCTE as 
( 
    select person_id, address_line 
    from FinancialsTest
)
Update AddressCTE 
set address_line = y.address_line 
from AddressCTE x
join Demographics y on x.person_id = y.person_id
The result I get is the same address line repeated for every row, so it looks like the join isn't working.
Any suggestions?
 
     
    