Skip to content

JOIN on NR == b.ID #45

@agladysh

Description

@agladysh

I'm trying to JOIN two tables, where the B table has additional information for some rows in the A. I can't get the query to work as I expect.

a.csv:

alpha
a-one
a-two

b.csv:

id,beta
1,b-one
2,b-two

Query:

select a.alpha, b.beta left join b on aNR==b.id

Output:

alpha,beta
a-one,
a-two,

Expected output:

alpha,beta
a-one,b-one
a-two,b-two

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions