[[esql-conditional-functions-and-expressions]]
==== {esql} conditional functions and expressions

++++
<titleabbrev>Conditional functions and expressions</titleabbrev>
++++

Conditional functions return one of their arguments by evaluating in an if-else
manner. {esql} supports these conditional functions:

// tag::cond_list[]
* <<esql-case>>
* <<esql-coalesce>>
* <<esql-greatest>>
* <<esql-least>>
// end::cond_list[]

include::case.asciidoc[]
include::coalesce.asciidoc[]
include::greatest.asciidoc[]
include::least.asciidoc[]
