我想在Google bigquery中获得两个时间戳之间的时差(以小时为单位);请帮忙。
小智 5
使用StandardSQL
TIMESTAMP_DIFF(timestamp_expression1, timestamp_expression2, HOUR)
Run Code Online (Sandbox Code Playgroud)
https://cloud.google.com/bigquery/docs/reference/standard-sql/functions-and-operators#timestamp_diff
| 归档时间: |
|
| 查看次数: |
3576 次 |
| 最近记录: |