Last active
June 21, 2019 15:35
-
-
Save theruziev/88e1043dec8496f16c223eac1e5224ef to your computer and use it in GitHub Desktop.
Clickhouse TIPs
This file contains 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
# Range date | |
SELECT toDate(toStartOfDay(toDate(toUnixTimestamp(now()) + (number * 86400)))) date FROM numbers(10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment