DELETE
AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
Synopsis
The DELETE
statement removes rows from a specified table that meet a given condition. Deleting multiple rows is not yet supported.
Syntax
Diagram
Grammar
delete ::= DELETE FROM table_name WHERE where_expression;
Where
table_name
is an identifier.
Semantics
- An error is raised if the specified
table_name
does not exist. - The
where_expression
must evaluate to boolean values.
WHERE Clause
- The
where_expression
should specify conditions for all primary-key columns for fast read.
See Also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .