INSERT INTO `offices` SET `my_id` = 1362047669, `query` = CONCAT('цитата 2', '; ') ON DUPLICATE KEY UPDATE `query` = CONCAT(`query`, 'цитата 2', '; ')
INSERT INTO `offices` SET `my id` = 1362047669, `query` = CONCAT('цитата 2', '; ') ON DUPLICATE KEY UPDATE `query` = CONCAT(`query`, 'цитата 2', '; ')
INSERT INTO t1 (a,b,c) VALUES (1,2,3)
ON DUPLICATE KEY UPDATE c=c+1;