https://github.com/julianhyde/sqlline 1. It can be interactive 2. It can execute script from file as well 3. It has multiple output formats (csv, tsv, json, xml, pretty-printed, etc)
https://github.com/julianhyde/sqlline