clickhouseHow to get current datetime
Usage example
SELECT now()
output
┌───────────────now()─┐
│ 2022-01-12 17:14:54 │
└─────────────────────┘More of Clickhouse
- Count unique values
- List all tables from all database
- Get total database size
- Get table size
- Create AggregatingMergeTree materialized view
- Export table to CSV file
- Using anyLast() with grouped data
- How to format date/time
- Using argMax() function
- Convert datetime to unix timestamp
See more codes...