title: Trying to delete elements from a database SQLite3 from a tkinter treeview GUI using python
body: <p>I have been working on project for my class dealing with GUI in python. I am using tkinter. I have a treeview and I am displaying data in the treeview from a database from SQlite DB. However, I added a delete function to be able to select values from the treeview and then delete them with the delete function and button, I keep getting the same issue: The current statement uses 2, and there are 1 supplied. I have a tuple though so I am quite confused as to why I am getting this error. 
  Please help.! </p>
  
  <pre><code>def delete():
      conn2 = sq.connect('Clients.db')
      c2 = conn2.cursor()
      for selected_item in tree1.selection():
          c2.execute("DELETE FROM clients WHERE name=? AND phone=?",           (tree1.set(selected_item, '#1'), ))
      conn2.commit()
      tree1.delete(selected_item)
  </code></pre>
  
  <p>I keep getting get this when I select a value from the treeview and hit the delete button. ( By the way, the delete button is binded with the delete function): sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 2, and there are 1 supplied.</p>
  
  <p>I want to be able to select a value from the treeview and then hit delete and it will delete. Please help. Thank you </p>