I have a user table and I have three columns mobilePhone , homePhone and workPhone ...
I need to select homePhone for each user as the first pref
if there is no value I will go for mobilePhone and
if there is no value for him
I will go for workPhone ....
Any suggestion how to do this in mysql ..
source share