The simple answer is that any and all valid expressions will work with select.

This means that you may use any of the logical or mathematical operators, constants, variables and functions in your expression.

The expression is evaluated, and the result checked.

If the result is a non-zero number then it will be true and the Case statements will be executed. If it is a non-empty string then it will be true and the Case statements will be executed