title: How do I compare an input to data that's already in an SQLite3 table?
body: <p>I want to compare a user input with data that's already in a table?</p>
  
  <p>So far I've done the following code</p>
  
  <pre><code>db_info = cursor.execute("SELECT * FROM usersTable");
      if login_user in db_info:
          game()
      else:
          messagebox.showerror("Invalid Details", "Inputted details are invalid!")
  </code></pre>
  
  <p>When I run this, nothing happens so I'm not sure where I've gone wrong.
  Anyone got any suggestions?</p>