title: pymysql cursor fetch multiple rows
body: <p>I would like to show a list of users in groups of 2 from a database, I can get it to show the first two but then it returns to the main menu.  I would prefer if it scrolled through all the database, displaying two rows at a time rather than the first two rows only.  Where am I going wrong in my code, is it possible to put the fetchmany in a loop to run through all the users?  </p>
  
  <pre><code>sql = ('Select * from user;')  
  cursor.execute(sql)
  data = cursor.fetchmany(size=2)
  for row in data:
          print (row["userID"],":",  row["username"], ":", row["age"])
  </code></pre>