Skip to content
New issue

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

SQL: Multi-table SELECT #275

Open
tdakkota opened this issue Oct 18, 2020 · 1 comment
Open

SQL: Multi-table SELECT #275

tdakkota opened this issue Oct 18, 2020 · 1 comment

Comments

@tdakkota
Copy link
Contributor

Multi-table SELECT is query like

SELECT * FROM foo, bar;

Example

If foo table is:

a b
1 2
2 1

and bar is

c d
3 4
4 3

Query result:

a b c d
1 2 3 4
1 2 4 3
2 1 3 4
2 1 4 3
@djadala
Copy link

djadala commented Oct 7, 2021

Hi,
can support be added for this type of multi table select(sqlite):
select (select 2), 1, 3;
it is not efficient as multi table joins, but enable splitting information to multiple tables to deal with data duplication:
select f1, f2, key_in_table2, ( select f1t2 from table2 where table1.key_in_table2 == table2.id) from table1
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants