1.on duplicate key update: 当遇到key冲突时相当于一个update语句
INSERT INTO ftp_account (user_name, password, expire)
VALUES ("ftp1", "654321", "2002-11-14 09:43:20")
ON DUPLICATE KEY UPDATE
password = VALUES (password), expire = VALUES (expire)
2. replace into: insert或update一条记录