Solution: Mysql ORDER date DESC dates in reverse order?

Development | Databases
Description
Hello everyone, I want to build a graph, but when I deduce from the database, the data is as follows 2020-03-09>2020-03-08>2020-03-07>2020-03-06 I would like to get the latest dates but in reverse.
Attachments
No attachments
Solutions
Description
Since everything is correct, DESC should be used, here is an example:

SELECT `createdtime`
FROM `vtiger_crmentity`
ORDER BY `createdtime` DESC
LIMIT 0, 30

on May 29th, 2020 (9:13 pm)
All coments
This solution has not been commented yet.
You must sign in to comment!! LOGIN
We use cookies to give you the best possible experience on our site. By continuing to use the site you agree to our use of cookies. Find out more Accept