The ? is indeed for variable substitution, but AFAIK only for field values, not for table names, which is why your first example doesn't work and your second and third examples do work. -- https://mail.python.org/mailman/listinfo/python-list
Re: Why am I getting a 'sqlite3.OperationalError'?
Mark Summerfield via Python-list Thu, 11 May 2017 01:01:27 -0700