mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
ac7330b805
type: expluded => excluded
705 B
705 B
toc_title |
---|
WHERE |
WHERE Clause
WHERE
clause allows to filter the data that is coming from FROM clause of SELECT
.
If there is a WHERE
clause, it must contain an expression with the UInt8
type. This is usually an expression with comparison and logical operators. Rows where this expression evaluates to 0 are excluded from further transformations or result.
WHERE
expression is evaluated on the ability to use indexes and partition pruning, if the underlying table engine supports that.
!!! note "Note" There’s a filtering optimization called prewhere.