delete oct_r_data_w w where w.rowid <> ( select max(w2.rowid) from oct_r_data_w w2 and w.meter_id = w2.meter_id )