I\'m trying to select the max date in three different fields in each record (MySQL) So, in each row, I have date1, date2 and date3: date1 is always filled, date2 and date3 c
COALESCE your date columns before you use them in GREATEST.
COALESCE
GREATEST
The way you handle them will depend on how you want to deal with NULL.. either high or low?
NULL