【发布时间】:2020-09-30 03:30:26
【问题描述】:
我正在查找从今天午夜到昨天午夜的数据。如果今天的日期“2020-06-10 03:20:25”。我想在“2020-06-09 00:00:00”到“2020-06-10 00:00:00”之间创建
【问题讨论】:
-
select * from mytable where createdate > '2020-06-09 00:00:00' and createdate
标签: sql postgresql date-arithmetic