CBSE Class 12 Computer Science Question 32 of 47

Interface Python with SQL — Question 10

Back to all questions
10
Question

Question 10

Which function is used to read one record from the database?

Answer

The fetchone() function fetches only one row from the result set in the form of a tuple or a list.