首页 新闻 会员 周边
1
回答数

回答被采纳 postgresql 月份差计算问题

select date_part('day','2018-01-31 15:49:15'::timestamp-'2018-01-10 10:12:15'::timestamp); 结果是21 sel