SQLite Forum

SELECT using variables
Login
> I'm reduced to wild guesses

Okay, here's one: `(tag,)` in Python evaluates to a 2-element list, not a 1-element list, but your query needs only one parameter. Does the error go away if you remove the unneeded comma?