I couldn't figure out where else to share this info.  I hope this is 
appropriate for the forum. 

I've written a command line tool, csvsql, which is just a thin wrapper for 
the h2 database engine.  The code is on github:

https://github.com/jdurbin/durbinlib/wiki/csvsql

csvsql lets you run sql queries on csv or tab files, including multi-file 
joins, and get the output as a new tab/csv file.   Perhaps someone in this 
group will find this useful.   For example:

 csvsql "select p.name,c.child from people.csv as p, children.csv as c where 
p.name=c.name"

csvsql "select brand,count(*) from beer.tab group by brand having count(*) > 2"

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to