sq
sq is a free/libre open-source data wrangling swiss-army knife to inspect, query, join, import, and export data. You could think of sq as jq for databases and documents, facilitating one-liners like: sq '@postgres_db | .actor | .first_name, .last_name | .[0:5]'
Cost / License
- Free
- Open Source
Platforms
- Linux
- Windows
- Mac
- Homebrew
- Docker
- Kubernetes
Features
- Command line interface
- Data export/import
Tags
- query-tools
- sql-query
- data-wrangling
- sql-query-tool
- data-manipulation
sq News & Activities
Recent activities
POX added sq as alternative to Advanced JSON Viewer
sq information
What is sq?
sq is a free/libre open-source data wrangling swiss-army knife to inspect, query, join, import, and export data. You could think of sq as jq for databases and documents, facilitating one-liners like: sq '@postgres_db | .actor | .first_name, .last_name | .[0:5]'
sq executes jq-like queries, or database-native SQL. It can join across sources: join a CSV file to a Postgres table, or MySQL with Excel.
sq outputs to a multitude of formats including JSON, Excel, CSV, HTML, Markdown and XML, and can insert query results directly to a SQL database.
sq can also inspect sources to view metadata about the source structure (tables, columns, size). You can use sq diff to compare tables, or entire databases. sq has commands for common database operations to copy, truncate, and drop tables.





