INSERT INTO

test

(a,b,c)

VALUES

(1,12,13),

(4,15,16),

(7,18,19)
ON DUPLICATE KEY UPDATE

a=VALUES(a),

b=VALUES(b),

c=VALUES(c)