duckdb -list -csv mydb.duckdb 'SELECT 1;'

Category: Databases & SQL

duckdb -list -csv mydb.duckdb 'SELECT 1;'

Output results as plain CSV

-list and -csv produce bare CSV rows suitable for piping into other programs; -json switches to JSON and -markdown for documentation. Related: -header toggles the header row.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.