摘要: select date_trunc('h',now()) -interval '24 h'; WHERE a.req_time BETWEEN (date_trunc('h',now()) -interval '24 h') AND date_trunc('h',now()) 参考: Postgre 阅读全文
posted @ 2021-11-15 17:23 戈博折刀 阅读(448) 评论(0) 推荐(0) 编辑