title: How to call different queries in a nested loop with pyodbc
body: <p>I have something like </p>
  
  <pre><code>cursor.execute("select * from table1") # table1 has 10 rows
  for k,row in enumerate(cursor,1):
      if row[3] != None:
          cursor.execute("select * from table2") # table2 has 10 rows
          for row2 in cursor():
              print(row2)
      print(row)
  </code></pre>
  
  <p>SQL doesn't allow multiple cursor within same come connection. Then how can i fetch data from table2</p>