📌  相关文章
📜  postgresql 获取两个日期之间的小时差 - SQL 代码示例

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

代码示例2
select age('2010-04-01', '2012-03-05'),
       date_part('year',age('2010-04-01', '2012-03-05')),
       date_part('month',age('2010-04-01', '2012-03-05')),
       date_part('day',age('2010-04-01', '2012-03-05'));