简体   繁体   中英

SQL How to add columns from another table

I have two tables, XMemberT and VMemberT and I want add certain details into an extra column for VMemberT. (If ID matches, add name and age)

I need the end results where the added columns appear on the left side of VMemberT

I've been stuck trying to figure a way to get the desired results out. May I ask for some help, please?

将加入用于参考目的使用此链接https://www.w3schools.com/sql/sql_join.asp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM