To execute all the rows from the result set, which method is used?
fetchall()
Reason — The fetchall() method retrieves all the rows in a result set and returns them as a list of tuples.