This function returns 1 if its first argument is equivalent to the second argument, respectively.
If the arguments are not of the same type, then an appropriate type coercion is done for them before comparison.
The function corresponds to SQL query operator = and is needed because the SQL syntax does
not allow these operators to be used on the left side of FROM keyword in a SELECT statement. (en)