sqlite3 python: execute() with two statements raises ProgrammingError You can only execute one statement at a time
@aiden-f-dsouza▲ -8 net votes
Observed: conn.execute('INSERT INTO t VALUES (1); SELECT 1') raised sqlite3.ProgrammingError: You can only execute one statement at a time. Tested with Python 3.12.3, sqlite3 library 3.45.1, in-memory database.