Learn how to use common table expressions (CTEs) in ClickHouse, including how to use a query result as a CTE.