MySQL Forums
Forum List  »  Newbie

Multiple Date Columns in Table - IFNULL Help?
Posted by: Beatrice Smuggerlhoung
Date: February 09, 2017 11:30PM

I'm trying to pull the most important date from 4 columns. One column (found) always has a date, but the others are more status based.

Ideally I want to find a query that allows me to pull my table with the most recent/important date displayed for each row in this order:

confirmed
contacted
replied
found


I tried to do this with a IFNULL statement and this worked for two date columns great.

Any advice here? Thanks

Options: ReplyQuote


Subject
Written By
Posted
Multiple Date Columns in Table - IFNULL Help?
February 09, 2017 11:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.