回答編集履歴
1
推敲
answer
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
where update_datetime >= '2020/05/11'::timestamp
|
8
8
|
and update_datetime < '2020/05/12'::timestamp
|
9
9
|
```
|
10
|
-
範囲型だともう少し簡潔です。
|
10
|
+
[範囲型](https://www.postgresql.jp/document/12/html/functions-range.html)だともう少し簡潔です。
|
11
11
|
```SQL
|
12
12
|
where update_datetime <@ '[2020/05/11,2020/05/12)'::tsrange
|
13
13
|
```
|