duckdb
Client for DuckDB, an in-process analytical SQL engine. tldr-pages
On several platforms
Several platforms
Start an interactive shell with a transient in-memory database
duckdbIdentifyStart an interactive shell on a database file. If the file does not exist, a new database is created
duckdb path/to/dbfileIdentifyQuery a CSV, JSON, or Parquet file using SQL
duckdb -c "SELECT * FROM 'data_source.ext'"IdentifyDirectly query a CSV, JSON, or Parquet file using the file view
duckdb data_source.ext -c " SELECT * FROM file "IdentifyRun an SQL script
duckdb -f path/to/script.sqlIdentifyRun query on database file and keep the interactive shell open
duckdb path/to/dbfile -cmd "SELECT DISTINCT * FROM tbl"IdentifyRead CSV from stdin and write CSV to stdout
cat path/to/source.csv | duckdb -c "COPY (FROM read_csv('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)"IdentifyStart the DuckDB UI, a web interface with notebooks
duckdb -uiIdentify