Here's a similar project I've been working on in my spare time: https://github.com/mslusarz/csv-nix-tools.
It supports both SQL syntax (SQLite and native) and Unix-like processing (grep, sort, uniq, etc).
It also includes source (ls, ps, etc) and exporting (exec, to-json, plot) tools.