update a set a.nickname=b.nickname from tab1 a,tab2 b where a.username=b.username

相关文章: