Just for tracking.. INSERT INTO liputraj_places.tracking_hourly ( jam, track_iframe_counter ) VALUES ( '20190822-00', 1 ) ON DUPLICATE KEY UPDATE track_iframe_counter=track_iframe_counter+1