CBSE Class 12 Computer Science Question 45 of 47

Interface Python with SQL — Question 8

Back to all questions
8
Question

Question 8

fetchone() fetches the next row of a query result set.

Answer

True

Reason — The fetchone() method fetches only one row from the result set in the form of a tuple or a list. This function returns one record from the result set each time it is called. The first call will return the first record, the next call will return the second record, and so on.