Which function/method do you use for executing an SQL query ?
The execute() function with cursor object is used for executing an SQL query.