Summary
Extend USING clause to support multiple columns - currently limited to single column.
Problem
Current: JOIN table USING (col1)
Needed: JOIN table USING (col1, col2, col3)
This is SQL-92 standard but not implemented.
Action Items
- Update parser to handle column list in USING clause
- Modify AST to store list of columns instead of single column
- Add tests for 1-10 columns in USING clause
- Update documentation with examples
- Ensure backward compatibility with single-column USING
Acceptance Criteria
Technical Details
Priority: Medium
Effort: Small (8h)
Phase: Phase 4 - Feature Development
Dependencies: None
Example SQL
-- Current (works)
SELECT * FROM users u
JOIN profiles p USING (user_id);
-- Needed (doesn't work yet)
SELECT * FROM orders o
JOIN shipments s USING (order_id, warehouse_id);
Summary
Extend USING clause to support multiple columns - currently limited to single column.
Problem
Current:
JOIN table USING (col1)Needed:
JOIN table USING (col1, col2, col3)This is SQL-92 standard but not implemented.
Action Items
Acceptance Criteria
Technical Details
Priority: Medium
Effort: Small (8h)
Phase: Phase 4 - Feature Development
Dependencies: None
Example SQL