REPLACE INTO table [ (column_name,...) ] VALUES (expression,...) or REPLACE INTO table [ (column_name,...) ] SELECT ...
This works exactly like INSERT, except that if there was some old
record in the table with the same unique index the old record or records
will be deleted before this record is inserted.
See section INSERT syntax.
Go to the first, previous, next, last section, table of contents.