If you’re getting an error that reads “Parse error: all VALUES must have the same number of terms” in SQLite when using the VALUES
clause as a stand alone statement, it’s probably because you’re not providing the same number of columns in all rows.
When we use VALUES
to create a constant table, we must provide the same number of columns in each row.
To fix this issue, be sure to provide the same number of columns across all rows.
Continue reading