sq is a powerful command-line data wrangler that combines the flexibility of jq with SQL database capabilities. It lets you query diverse data sources—including SQL databases, CSV files, Excel spreadsheets, and JSON documents—using a unified jq-style query language.
Key capabilities include:
sq diff to compare tables or entire databasesWhether you're performing quick data exploration, building ETL pipelines, or bridging gaps between different data formats, sq eliminates the need to switch between multiple tools. Execute native SQL queries or use jq-style syntax—whatever fits your workflow. Perfect for developers and data analysts who want powerful data manipulation capabilities without leaving the terminal.
$ brew install sq