OSS Program: Get Tinybird credits for your open source project. Apply now.Apply now
Back to columns

ClickHouse Examples

Master ClickHouse date arithmetic with addDays, subtractMonths, date_add functions plus performance tips, timezone handling, and real API examples.
1How to add and subtract time intervals in ClickHouse
Learn how to use ClickHouse's domainWithoutWWW function to extract clean domains from URLs, plus advanced techniques for processing entire tables at scale.
1How to extract domains without www from URLs in ClickHouse
1How to extract URL query strings without ? or # in ClickHouse
1How to extract year, month, day, and time components from dates in ClickHouse
1How to extract RFC-compliant hostnames from URLs in ClickHouse
1How to get the current timestamp with sub-second precision in ClickHouse
Subscribe to SCHEMA > Evolution
We are Tinybird and we manage data for companies like Vercel and Canva. Plus, write a newsletter covering Data, AI and everything that matters in between. Join us.
1How to build complete URL hierarchies with path truncation in ClickHouse
1How to update specific date parts (year month day hour) in ClickHouse
1How to extract query parameter values from URLs in ClickHouse
1How to extract ISO week numbers from dates in ClickHouse
1How to extract URL fragments without hash symbols (#) in ClickHouse
1How to extract ISO year in ClickHouse: toISOYear vs toYear
1How to extract the first Significant Subdomain From URLs in ClickHouse
1How to get the current query timestamp with timezone in ClickHouse

Skip the infra work. Deploy your first ClickHouse
project now

Tinybird wordmark