title: Why do I get the error 'sqlite3.OperationalError: near "?": syntax error'?
body: <p>I have trouble making a very easy and simple <code>sqlite3</code> query. The following code </p>
  
  <pre><code>p = ('user',)
  cursor.execute("SELECT Guid FROM ? LIMIT 1",p)
  </code></pre>
  
  <p>gives the error</p>
  
  <pre><code>Traceback (most recent call last):
    File "try_Units.py", line 21, in &lt;module&gt;
      cursor.execute("SELECT Guid FROM ? LIMIT 1",p)
  sqlite3.OperationalError: near "?": syntax error
  </code></pre>
  
  <p>but I am using the exact syntax as explained in the example <a href="https://docs.python.org/3.4/library/sqlite3.html" rel="nofollow">here</a>. So what is wrong this that syntax (python 3.4.0)?</p>
  
  <p>I want to access the attribute 'Guid' from a table named 'user'.</p>