I have a column called Indicator
in a table. It contains Y
, N
, NULL
, or just blank.
What does the following two logic do?
coalesce(Indicator, 'N') = 'N'
coalesce(Indicator, 'N') = 'Y'
It doesn't seem just to return the rows where Indicator
equals N
or Y
. Is there something else going on?