Advertisements
Advertisements
Question
fetchall() method fetches all rows in a result set and returns a:
Options
Tuple of listsList of tuplesList of stringsTuple of strings
MCQ
Advertisements
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
Is there an error in this question or solution?
