Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sqlite3.OperationalError: near "7": syntax error

cur.execute('INSERT INTO "{}" VALUES(?, ?)'.format(group.replace('"', '""')), (food, 1))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #syntax #error
ADD COMMENT
Topic
Name
2+7 =