Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在mysql上订购日期?我试过这个:
SELECT DATE_FORMAT(date_time,'%d/%m/%Y') Date FROM date_time ORDER BY Date;
但不能正常工作
谢谢
订购它,date_time因为DATE(别名)已经是VARCHAR
date_time
DATE
VARCHAR
ORDER BY date_time;