KnowledgeBoat Logo
|

Computer Science

Name the method which is used for displaying only one record from the result set.

  1. fetchmany()
  2. fetchno()
  3. fetchall()
  4. fetchone()

Python MySQL

1 Like

Answer

fetchone()

Reason — The fetchone() method fetches only one record from the result set in the form of a tuple or a list.

Answered By

1 Like


Related Questions