How can I order date on mysql? I have tried this:
SELECT
DATE_FORMAT(date_time,'%d/%m/%Y') Date
FROM
date_time
ORDER BY Date;
but not work fine
thx
按date_time
排序,因为DATE
( 别名 )已经是VARCHAR
ORDER BY date_time;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.