1 個回答
- 最新
- 最多得票
- 最多評論
0
I think based on the tags you're using Athena, so date_diff may be the answer. The official AWS documentation links to Presto.
Other database systems also support DATEDIFF: MySQL, MS SQL Server and Oracle. With POSTGRES you could use DATE_PART, see http://www.sqlines.com/postgresql/how-to/datediff.
已回答 2 年前
相關內容
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 4 個月前