本文介绍 DML 语句类型、SQL 实例以及 GTS 是否支持,帮助您在 GTS 更顺畅的使用 SQL。

类型 SQL 实例 是否支持
INSERT INSERT INTO tb1_name (col_name,...)VALUES ({expr | FAULT},...),(...),...INSERT INTO tb1_name SET col_name={expr | DEFAULT}, ...
UPDATE UPDATE tb1_name SET col_name1=expr1 [, col_name2=expr2 ...][WHERE where_definition]
DELETE DELETE FROM tb1_name [WHERE where_definition]
SELECT SELECT [ALL | DISTINCT | DISTINCTROW ]select_expr, ... FROM tb1_name[WHERE where_definition]
REPLACE REPLACE [LOW_PRIORITY | DELAYED][INTO] tb1_name [(col_name,...)]VALUES ({expr | DEFAULT},...),(...),...REPLACE [LOW_PRIORITY | DELAYED][INTO] tb1_name SET col_name={expr | DEFAULT}, ...
TRUNCATE TRUNCATE [TABLE] tb1_name