Supponendo che tab1 sia quella da riempire, tab2 quella piena e che abbiano un id comune così dovrebbe andare:
update tab1,tab2 set
tab1.username = tab2.username
where tab1.id = tab2.id;
Supponendo che tab1 sia quella da riempire, tab2 quella piena e che abbiano un id comune così dovrebbe andare:
update tab1,tab2 set
tab1.username = tab2.username
where tab1.id = tab2.id;