title: Multiple SQL Queries with python & flask
body: <p>I have a SQLite3 table that collects data from a gym booking form; all the data goes into one table - Name, Email, Day, Exercise Class, Class Time.</p>
  
  <p>If it is possible, I would like to find a way to get all from Name if Day, Exercise Class &amp; Class Time are equal to a selected value.</p>
  
  <p>I am using Flask so once I can do this the data would then be used to generate a new HTML page (which would be the registration checklist page for the gym tutor).</p>
  
  <p>I am pretty sure this is incorrect, but this is the general idea of what I would like to achieve..</p>
  
  <pre><code>db.execute("SELECT * FROM GymTable WHERE (Day == "Monday", Ex_Class == "BoxFit", Ex_Time == "0745-0845"))
  </code></pre>