I'm new to SQLite. Is there a way I can export the results of a query into a CSV file?
From here and d5e5's comment:
You'll have to switch the output to csv-mode and switch to file output.
sqlite> .mode csv sqlite> .output test.csv sqlite> select * from tbl1; sqlite> .output stdout
1.4m articles
1.4m replys
5 comments
57.0k users