SyntaxFix
Write A Post
Hire A Developer
Questions
You can achieve that using DATE_FORMAT() (click the link for more other formats)
SELECT DATE_FORMAT(colName, '%Y-%m-%d') DATEONLY, DATE_FORMAT(colName,'%H:%i:%s') TIMEONLY