在 PostgreSQL 下如何漂亮的拿到兩個欄位時間差的平均

📝

内容提要

有個需求是,對一個集合算出所有的數據中,兩個欄位的時間相減,取全部平均花費時間。 狀況如下 # == Schema Information # # Table name: orders # ... # notify_at :datetime # released_at :datetime # ... 我們希望可以拿

🏷️

标签

➡️

继续阅读