The SQLite command line interface has a handy dot command called .mode
, which allows you to change the way query results are formatted.
One of the values you can use with this command is insert
. Using this value results in all subsequent query results being formatted as an SQL INSERT
statement.