CBSE Class 12 Computer Science
Question 22 of 47
Interface Python with SQL — Question 12
Back to all questionscon.cursor()
Reason — In MySQL connector for Python, the correct statement to create a cursor is con.cursor(). This method creates and returns a cursor object associated with the connection con, allowing to execute SQL queries.