trdsql
CLI tool that can execute SQL queries on CSV, LTSV, JSON and TBLN
...Download binary from the releases page(Linux/Windows/macOS). Pull the latest image from the Docker hub. The filename of -out filename option determines the output format(csv, ltsv, json, tbln, raw, md, at, vf, jsonl) and compression format(gzip, bz2, zstd,lz4, xz) by guess.