The special control structure that facilitates row by row processing of records in resultset.
(A) Tuple
(B) database cursor
(C) connection
(D) None of these
Answer:
Checking the options
- (A) Tuple - It refers to a single row of a table in an SQL database.
- (B) database cursor - It is a database object that retrieves data from the result set one row at a time.
- (C) connection - It refers to creating a link between the MySQL database and the python application.
- (D) None of these
From the options given above, database cursor refers to the special control structure that facilitates row by row processing of records in resultset.
So, the correct answer is (B)