I have a database with account numbers and card numbers. I match these to a file to update any card numbers to the account number, so
account numbers
card numbers
update
If above answers not working for you try this
Update Sales_Import A left join RetrieveAccountNumber B on A.LeadID = B.LeadID Set A.AccountNumber = B.AccountNumber where A.LeadID = B.LeadID