I have the following Python code and it gives me errors when I execute it, the error says
sqlite3.OperationalError: near "%": syntax error
statement = "INSERT INTO %s (%s) VALUES " % (table,columns) + "(%s,%s,%s);"
cur.execute(statement, (index,fullpath,filename))