表 A:
NAME        ID
---------------
Peter       45
Johny       46
Mary        47
Micheal     48
Elizabeth   49
表 B:
NAME        ID     Gender
-----------------------------
Peter       12       M
Johny       null     M
Mary        47       F
Micheal     48       M
Elizabeth   28       F
我想要一个更新查询来填充表 B 中的以下结果。
NAME        ID     Gender
-----------------------------
Peter       45       M
Johny       46       M
Mary        47       F
Micheal     48       M
Elizabeth   49       F