A history lesson on SQL joins (in Postgres)
PostgreSQL is smart enough to realize that different SQL queries can yield the same result. Hence the PostgreSQL planner must find the most efficient way to execute JOINs, both in single-node PostgreSQL and in a distributed Citus database. All about writing join conditions in SQL.
Citus Data