Computer Science

To obtain all the records retrieved, you may use <cursor>. …………… method.

  1. fetch()
  2. fetchmany()
  3. fetchall()
  4. fetchmultiple()

Python MySQL

4 Likes

Answer

fetchall()

Reason — The <cursor>.fetchall() method will return all the rows from the resultset in the form of a tuple containing the records.

Answered By

3 Likes


Related Questions