clause
JOIN USING
Matches equally named columns and exposes one merged join column in an unqualified projection. Example target: PostgreSQL 17 and SQLite (local fixture tested).
Formal Syntax & Structure
sql syntaxsql
JOIN table USING (column)Working Example
Example Snippetsql
SELECT customer_id FROM orders JOIN (SELECT 1 AS customer_id) AS x USING (customer_id) ORDER BY orders.id;