SELECT "reviewedAt", "createdAt", DATEDIFF('hour', "createdAt"::timestamp, "reviewedAt"::timestamp) as hours_approved from "yadda$prod"."Application"
错误[42883]:错误:函数datediff(unknown,timestamp without time zone,timestamp without time zone)不存在。提示:没有与给定名称和参数类型匹配的函数。您可能需要添加明确的类型转换。位置:36
带时区的时间戳
。 - undefined