INSERT INTO cscart_cp_statistics_product_popularity ( `product_id`, `viewed`, `total`, `timestamp` ) VALUES (1324, 1, 3, 1731607200) ON DUPLICATE KEY UPDATE viewed = viewed + 1, total = total + 3
int(2)