Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sqlite3.OperationalError: near "7": syntax error

cur.execute('SELECT COUNT(Name) FROM "{}" WHERE Name=?'.format(group.replace('"', '""')), (food,))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #syntax #error
ADD COMMENT
Topic
Name
8+2 =