DuckDB’s command line interface (CLI) provides a convenient .mode csv
command that allows you to output all query results directly in CSV format. This approach differs from the COPY
statement as it affects the output format of all subsequent queries until changed.
The article takes a quick look at CSV mode in the DuckDB CLI.
Continue reading