📌  相关文章
📜  时间戳升序与降序sql代码示例

📅  最后修改于: 2022-03-11 15:05:05.429000             🧑  作者: Mango

代码示例1
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