If you like to test, if something is null, please write IS NULL
But there are this function:
IFNULL
- to change a NULL to a more meaningfull data. Like this:
SELECT IFNULL(END_DATE, '9999-12-31')
FROM TABLE WHERE KEY = unique_key-value
COALESCE function will do the same, but IFNULL is slightly faster.
Cheers, Bill