我有两个表,t1
每个表t2
有两列 -id_user
和age
.
如果. t1.age
_ t1.age
_ t2.age
_ t1.age
_t2
更新前:
t1 +-------+---+ |id_user|年龄| +-------+---+ | 1| 5| +-------+---+ | 2| 10| +-------+---+ | 3| 10| +-------+---+ t2 +-------+---+ |id_user|年龄| +-------+---+ | 2| 12| +-------+---+ | 3| 8| +-------+---+ | 4| 20| +-------+---+
更新后:
t1 +-------+---+ |id_user|年龄| +-------+---+ | 1| 5| +-------+---+ | 2| 12| +-------+---+ | 3| 10| +-------+---+