COALESCE
COALESCE
Take first nulls_col and if that's null then take simple_int and if that's null then return 999
IFF
IFF
If nulls_col is larger than 40 then return 'larger than 40', if it is null then return 'null' and if none of those are true then return 'not larger than 40 and not null'
CONCAT
CONCAT
Turning simple_int into a string and concatenating it with text_col and 'HELLOWORLD' separated by a hyphen
FLOAT
FLOAT
Converting a string to a float
Taking the right-most character from the text_col and converting it to a float - then dividing b 0.234
INT
INT
Taking the right-most character from the text_col and converting it to an integer
DATE
DATE
Converting a text literal - 2025-01-01 - to a date
DATETIME
DATETIME
Converting date_string column to a datetime
AND
AND
Using AND in IFF function. If nulls_col is null AND simple_int is 2 then return 'both are true' else return 'both are NOT true'
OR
OR
Using OR in IFF function. If nulls_col is null OR simple_int is 2 then return 'one is true' else return 'none are true'
ISNULL
ISNULL
Checking if nulls_col is null
ISNOTNULL
ISNOTNULL
Checking if nulls_col is not null
ISTRUE
ISTRUE
Created a column if bool is true
ISFALSE
ISFALSE
Created a column if bool is false