我有一个查询,我试图按顶部的最近日期排序,向下到底部最旧的结果。这是查询
SELECT headline, story, DATE_FORMAT(date, "%d-%M-%Y") AS date,
name, logo, tpf_parks.park_id, url, alt, description
FROM tpf_news
INNER JOIN tpf_parks ON tpf_news.park_id = tpf_parks.park_id
LEFT JOIN tpf_images ON tpf_news.news_id = tpf_images.news_id
ORDER BY date DESC
结果排序错误,它只是按天排序,所以结果是这样排序的:25-march-2013, 23-april-2013, 19-febuary-2013, 10-may-2013
等等。我认为这是因为我显示日期的方式DATE_FORMAT(date, "%d-%M-%Y") AS date
,但我不知道如何修复它。有任何想法吗?