teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

推敲

2020/05/11 06:06

投稿

sazi
sazi

スコア25430

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
  ```