Q. Which record will get inserted in the table by following code:
import mysql.connector as sqltor mycon = saltor.connect (host = "localhost", user = "learner", passwd ="fast", database = "test") cursor = mycon.cursor() query = "INSERT INTO books (title, isbn) VALUES('()', ())".format(“Ushakiran”, ‘42568987836’) cursor.execute(query) mycon.commit()
Answer :-
'Ushakiran', 42568987036
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )