JoinCondition: {
    left_column: string;
    right_column: string;
    type: "column_equals";
} | {
    columns: string[];
    type: "using";
}

Structured join condition instead of raw SQL