SQL
Scalar Utility Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Ternary conditional operator; returns b if a, else returns c. Equivalent to `CASE WHEN a THEN b ELSE c END`. |
| **Example** | `if(2 > 1, 3, 4)` |
| **Result** | `3` |