v.25.8Experimental Feature

Correlated subqueries are now supported by default

Enable correlated subqueries support by default, they are no longer experimental. #85107 (Dmitry Novik).
Correlated subqueries are now supported by default in ClickHouse and are no longer marked as experimental.

Why it matters

This feature enables users to write more complex and expressive queries that involve subqueries referencing columns from outer queries. By making correlated subqueries stable and enabled by default, it improves query flexibility and usability without requiring additional settings.

How to use it

Users can write correlated subqueries in their SQL queries without enabling any special settings or experimental flags. Simply use subqueries that reference outer query columns as needed in SELECT statements.