I have the following table (table1) structure as the result of a select case query
server timestamp ftpSuccRate httpSuccRate
123.2.3.2 1:00 am 1 null
123.2.3.2 1:00 am null 0.5
I want to update another table’s (table 2) that has the following structure with values from table1
server timestamp ftpSuccRate httpSuccRate
123.2.3.2 1:00 am 1 0.5
Basically I want to update ftpsuccrate of table2 with the not null ftpSuccRate value of table1 . Same for httpSuccRate. The join criteria betweent table1 and table2 is server and tiemstamp
1 Answer