关于数据库的问题,大家帮帮我把

图片说明

如何在 1.2 不变的情况下 ,,更新3的内容。。。。

update 表 set psn_attr_rela_value = xxx where psn_cred_num = xxx and psn_attr_id = xxx

那如何 批量更新 所有相同 PSN_CRED_NUM的 数据呢?

update 表 set PSN_ATTR_ID='新值' and PSN_ATTR_RALA_VALUE=''新值' where psn_cred_num =''相同的值(511389.。。。)‘

只要WHERE条件限定了,就能够进行更新

这种入门级的, 还是自己看看书吧

where 条件后面为 1和3 同时为条件去更新就好了 例如更新:
update 表 set psn_cred_num = '123' where psn_cred_num = '5113899999827276' and psn_attr_id = 'PA10002'
这样第一行的 的微趣闻 就变成 123了