title: Python sqlite3 string variable in execute
body: <p>I try to execute this sqlite3 query in Python. I reduced the code to the minimum, sqlite.connect, etc works.</p>
  
  <pre><code>column = 'Pron_1_Pers_Sg'
  goal = 'gender' 
  constrain = 'Mann'
  
  
  with con:
      cur = con.cursor()
  
      cur.execute("SELECT ? FROM Data where ?=?", (column, goal, constrain))
      con.commit()
  
      rows = cur.fetchall()
  
      for element in rows:
          values.append(element)
  </code></pre>
  
  <p>This returns an empty list.
  If I hardcode the strings, it works and returns values.</p>