SELECT is an expression
Between SELECT and FROM you can write arithmetic (+ - * /), comparisons, and function calls, not only column names. The database computes that expression for each row and returns the result. Nothing is stored, the value exists only in the answer, which makes it safe to try.
Common functions
sqlite has a small but useful set:
UPPER(x)LOWER(x)change caseLENGTH(x)character countROUND(x)ABS(x)number helpersCOALESCE(a, b)pick the first that is not blank
They take a value and return a value, so you can nest them. UPPER(LOWER(x)) is legal and reads inside out.