title: Passing multiple arguments in SQL - Python
body: <p>I am trying to pass two arguments into a SQL statement as below:</p>
  <pre><code>cursor.execute(f&quot;&quot;&quot;select * from table 
                     where product_name = '{prod_name}' and date = '{sale_date}'&quot;&quot;&quot;&quot;)
  </code></pre>
  <p>I am trying to have this run through a loop for several combination so I am trying to see how I can have this altered accordingly.</p>
  <pre><code>prod_name = ['prod_a','prod_b']
  sale_date = ['2020-01-01','2020-02-01']
  </code></pre>
  <p>I know how to pass one argument through a loop but I am not sure how to pass more than one argument together at the same.</p>