Answers for "order by timestamp 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
1

sql order by timestamp

SELECT timestamp
FROM randomTable
ORDER BY timestamp ASC;
Posted by: Guest on March-01-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language