SELECT IF(mydate,date_format(mydate, '%d/%m/%Y'),NULL) FROM xyz;
Zdroj:http://dev.mysql.com /doc/refman/5.0/en/control-flow-functions.html
SELECT IF(mydate,date_format(mydate, '%d/%m/%Y'),NULL) FROM xyz;
Zdroj:http://dev.mysql.com /doc/refman/5.0/en/control-flow-functions.html