English

Fetchall() method fetches all rows in a result set and returns a: - Computer Science (Python)

Advertisements
Advertisements

Question

fetchall() method fetches all rows in a result set and returns a:

Options

  • Tuple of lists
  • List of tuples
  • List of strings
  • Tuple of strings
MCQ

Solution

List of tuples

Explanation:

The fetchall() function retrieves all of the table's records and produces a list of tuples, each representing a record. 

shaalaa.com
Display Data by Using Fetchone(), Fetchall(), Rowcount
  Is there an error in this question or solution?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×