CBSE Class 12 Computer Science Question 44 of 47

Interface Python with SQL — Question 7

Back to all questions
7
Question

Question 7

After establishing connection, execute() method is used.

Answer

True

Reason — After establishing a connection to a database using a connection object, the execute() method is used to execute SQL statements or queries through a cursor object.