Open this example in the interactive library
Source code
SELECT min(100,max(0,115)) AS clamped;
Sample output
[
{
"clamped": 100
}
]
Open this example in the interactive library
SELECT min(100,max(0,115)) AS clamped;
[
{
"clamped": 100
}
]