was wondering if there was a way to join two tables given
common column. I searched but found nothing.
would be awesome to be able to process tables in SQLITE.
sqlite :var a=table1 b=table2 :colnames yes
select * from $a join $b using column;
I think it is not that hard. The infrastructure is there
It is just a matter of creating temp tables (this is the
major part missing
which implies making a create statement from the table,
that sqlite is very type agnostic, it might not be
load them from the CSV files
the execute the block. A db parameter might be needed
for a scratch database file, but it could be a temporary
none is provided.
But in the meantime, it occurred to me, it is simple in R
to do the join
and might be useful to others:
R :var a=table1 b=table2 :results value :colnames yes
can do left joins, right joins, full joins, joins,
there is nothing like the power of SQL to process tables,