codice:
update old,new
set new.userid = old.userid
where old.username = new.username