格式

示例

  1. Query OK, 0 rows affected (0.23 sec)
  1. 替换 test 表中的行一和行二的值分别为 ‘hello alibaba’ 和 ‘hello ob’。
  1. 查看 test 表中的行一和行二内容。
  1. OceanBase(admin@test)>SELECT * FROM test;
  2. | c1 | c2 |
  3. +----+---------------+
  4. | 2 | hello ob |
  5. +----+---------------+
  6. 2 rows in set (0.00 sec)
  1. 替换表 test 中的行三和行二的内容分别为 ‘hello alibaba’ 和 ‘hello oceanbase’。
  1. 查看 test 表中的行一、行二和行三的内容。
  1. +----+-----------------+
  2. +----+-----------------+
  3. | 1 | hello alibaba |
  4. | 2 | hello oceanbase |
  5. | 3 | hello alibaba |
  6. +----+-----------------+