-
postgresql 获取两个时间类型小时差值案例
我就废话不多说了,看代码吧~select extract(day from t) * 24 + extract(hour from t) from (select (timestamp '2013-12-14 12:00:00
我就废话不多说了,看代码吧~select extract(day from t) * 24 + extract(hour from t) from (select (timestamp '2013-12-14 12:00:00