ALTER TABLE … DELETE Statement 

ALTER TABLE [db.]table [ON CLUSTER cluster] DELETE WHERE filter_expr

Allows to delete data matching the specified filtering expression. Implemented as a mutation.

The filter_expr must be of type UInt8. The query deletes rows in the table for which this expression takes a non-zero value.

One query can contain several commands separated by commas.

The synchronicity of the query processing is defined by the mutations_sync setting. By default, it is asynchronous.

See also

Rating: 1 - 5 votes

Was this content helpful?
★☆☆☆☆