GREATEST function returns the greatest value from a list of expressions. You can pass a variable number of expressions to GREATEST, but if any of those expressions evaluate to NULL, the function will return NULL.
So the anwser to the question in the previous post is:
b.