MCQs > IT & Programming > Python > While working with MySQL database in Python, which statement is/are correct about the fetchone() method? 1. It is used for fetching the next row of a query result set. 2. It is used for returning the number of rows that were affected by an execute() method. 3. It is used for fetching only the first or the last row of a query result set.

Python MCQs

While working with MySQL database in Python, which of the following statements is/are correct about the fetchone() method?

1. It is used for fetching the next row of a query result set.

2. It is used for returning the number of rows that were affected by an execute() method.

3. It is used for fetching only the first or the last row of a query result set.


Answer

Correct Answer:

Only option 1. 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it