Answers for "timestamp order sql"

SQL
1

timestamp ascending order vs descending order sql

SELECT timestamp
FROM randomTable
ORDER BY timestamp ASC
>2012-07-11 17:34:57
>2012-07-11 17:33:07
>2012-07-11 17:33:28

SELECT timestamp
FROM randomTable
ORDER BY timestamp DESC
>2012-07-11 17:33:07
>2012-07-11 17:33:28
>2012-07-11 17:34:57
Posted by: Guest on May-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language