key | value |
---|---|
type | postgres |
host | localhost |
port | 5432 |
user | user |
database | postgres |
Created
July 22, 2020 16:33
-
-
Save mtgto/6a81664ae771129bf9abf1d9ab2a8fae to your computer and use it in GitHub Desktop.
New Query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * | |
from ( | |
values | |
(timestamptz '2020-07-22 09:00:00 UTC', 3) | |
, (timestamptz '2020-07-22 10:00:00 UTC', 1) | |
, (timestamptz '2020-07-22 08:00:00 UTC', 2) | |
) as t (time, value) | |
; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time | value | |
---|---|---|
2020-07-22 18:00:00+09 | 3 | |
2020-07-22 19:00:00+09 | 1 | |
2020-07-22 17:00:00+09 | 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment