Question
Write the difference between fetchone() and fetchmany() method.

Answer

Fetchone(). It fetches the single record or row from the resultset.

Fetchmany(). This method returns blocks of results according to a set limit.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free