Answers for "sort by date in sql"

SQL
1

sql sort column by date

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

sql reverse order of results

SELECT q.* 
    FROM (SELECT TOP 3 * 
              FROM table 
              ORDER BY id DESC) q
    ORDER BY q.id ASC
Posted by: Guest on March-19-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language