MCQ
Which method of cursor class is used to insert or update multiple rows using a single query
  • cursor.executemany(query, rows)
  • B
    cursor.execute(query, rows)
  • C
    cursor.executmultiple(query, rows)
  • D
    cursor.multipleexeucte(query,row)

Answer

Correct option: A.
cursor.executemany(query, rows)
cursor.executemany(query, rows)

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