We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is correct:
t = con.table('omnisci_countries') t0 = t t1 = t.view() x = t0.join(t1, (t0.abbrev == t1.abbrev)) x = x.select([t0.abbrev]) x.compile() SELECT t0."abbrev" FROM omnisci_countries t0 JOIN omnisci_countries t1 ON t0."abbrev" = t1."abbrev"
Here, the ON clause uses t0 for both sides:
t0 = t.view() t1 = t.view() x = t0.join(t1, (t0.abbrev == t1.abbrev)) x = x.select([t0.abbrev]) x.compile() SELECT t0."abbrev" FROM omnisci_countries t0 JOIN ( SELECT * FROM omnisci_countries ) t1 ON t0."abbrev" = t0."abbrev"
Here, t2 is used twice with no t1:
t0 = t t1 = t.view() t2 = t.view() x = t0.join(t1, (t0.abbrev == t1.abbrev)) x = x.join(t2, (t0.abbrev == t2.abbrev)) x = x.select([t0.abbrev]) x.compile() SELECT t0."abbrev" FROM omnisci_countries t0 JOIN omnisci_countries t2 ON t0."abbrev" = t2."abbrev" JOIN omnisci_countries t2 ON t0."abbrev" = t2."abbrev"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is correct:
Here, the ON clause uses t0 for both sides:
Here, t2 is used twice with no t1:
The text was updated successfully, but these errors were encountered: