mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
13d9a4eebe
Edit page link is fixed too for both language versions of documentation.
7 lines
221 B
Markdown
7 lines
221 B
Markdown
# Conditional functions
|
|
|
|
## if(cond, then, else), cond ? operator then : else
|
|
|
|
Returns 'then' if cond !or 'else' if cond = 0.'cond' must be UInt 8, and 'then' and 'else' must be a type that has the smallest common type.
|
|
|