Last active
August 7, 2020 19:29
-
-
Save dsmrt/312d4721fbd0124fda6024525037f402 to your computer and use it in GitHub Desktop.
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 justify_interval( | |
('2020-12-31'::TIMESTAMP - '2020-01-01'::TIMESTAMP) | |
) | |
-- results `1 year 5 days` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment