Which datatype is mostly returned by fetchall() method in Python-MySQL…

PYQ EMRS TGT/PGT (ESSE) 2023

Which datatype is mostly returned by fetchall() method in Python-MySQL connectivity ?

Select the most common answer.

  1. A.

    A single list or an empty list, if no more rows are available.

  2. B.

    A list of tuples or an empty list, if no more rows are available.

  3. C.

    A list of dictionaries or an empty list, if no more rows are available.

  4. D.

    A single tuples or an empty tuple, if no more rows are available.

Attempted by 700 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…