Computer Science
Which of the following is not a legal method for fetching records from database from within Python?
- fetchone()
- fetchtwo()
- fetchall()
- fetchmany()
Python MySQL
3 Likes
Answer
fetchtwo()
Reason — The fetchall() method, fetchmany() method, or fetchone() method are the legal methods used for fetching records from the result set.
Answered By
3 Likes
Related Questions
The set of records retrieved after executing an SQL query over an established database connection is called …………… .
- table
- sqlresult
- result
- resultset
A database …………… is a special control structure that facilitates the row by row processing of records in the resultset.
- fetch
- table
- cursor
- query
To obtain all the records retrieved, you may use <cursor>. …………… method.
- fetch()
- fetchmany()
- fetchall()
- fetchmultiple()
To fetch one record from the resultset, you may use <cursor>. …………… method.
- fetch()
- fetchone()
- fetchtuple()
- none of these