SQLcel (SequelCell )
SequelCell is a desktop application that allows users to combine data from various input types, including Excel spreadsheets, CSV files, and SQLite databases. It can also output the query results to a file in any of the three formats. SequelCell can be run as a GUI app or from the command line. It does not support running SQL update or insert commands.
SequelCell can produce simple charts for data visualization.
see sqlcel_doc.pdf
for details
see https://michaelleidel.net/sqlcel for example downloads