clickhouseHow to get current datetime
Usage example
SELECT now()
output
┌───────────────now()─┐
│ 2022-01-12 17:14:54 │
└─────────────────────┘More of Clickhouse
- Using anyLast() with grouped data
- Get total database size
- Create AggregatingMergeTree materialized view
- Disable logs
- Increase number of concurrent queries
- How to format date/time
- Get year and month from date
- Using multiIf in query
- Select rows with any of specified values in array column
- List all tables from all database
See more codes...