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