1 、將一個表中的名字通過相關的數據改爲一致的:比如將告警的AP名字改爲AP表中的名字一致
update fault_events t1 set t1.sender_alias = (select t2.ap_cn from mit_aps t2
where t1.alarm_sender = t2.ap_dn)
1 、將一個表中的名字通過相關的數據改爲一致的:比如將告警的AP名字改爲AP表中的名字一致
update fault_events t1 set t1.sender_alias = (select t2.ap_cn from mit_aps t2
where t1.alarm_sender = t2.ap_dn)