I am currently using Python 2.7's SQLite 3 database API. When I go to execute a query like such:
c.execute('''select ? from music where ? like "%?%"''', (attr, attr, query))
I get the following error:
sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 2, and there are 3 supplied.
I think that the %?% is what's throwing it off.