A result set is extracted from the database using the cursor object (that has been already created) by giving the following statement.

Mydata=cursor.fetchone()

(a) How many records will be returned by fetchone() method? 

(b) What will be the datatype of Mydata object after the given command is executed?

6 views

1 Answers

(a) One record 

(b) tuple

6 views