REPLACE

    ReplaceIntoStmt:

    PriorityOpt:

    IntoOpt:

    IntoOpt

    TableName:

    PartitionNameListOpt:

    InsertValues:

    1. Query OK, 0 rows affected (0.12 sec)
    1. INSERT INTO t1 (c1) VALUES (1), (2), (3);
      1. +----+----+
      2. | id | c1 |
      3. +----+----+
      4. | 1 | 1 |
      5. | 3 | 3 |
      6. 3 rows in set (0.00 sec)
      1. Query OK, 2 rows affected (0.01 sec)

      REPLACE 语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 。