> I don't see what your point is. That SQL is wrong ? Or that SQL is not "C"
> ? Or that SQL is not a "programming language" ?
Who said wrong ? who said SQL ?
I thougth _WHY_
the IF control structure has exactly two alternate blocks ?
a BOOLEAN expression has exactly two possible values, that's why !
Well
in plpgsql we have tri-valued BOOL
Every programmer asks "how a NULL value treated?"
Now you treat NULLs as false. That's your point, but why ?