First, you should turn off autocommit mode so the results of each SQL statement aren't automatically committed to the database.
首先,应当关闭自动提交模式,这样,每条sql语句的结果不会被自动提交给数据库。
Under Query results, you'll notice that the statement executed successfully.
在查询结果中,您将注意到已经成功执行了语句。
Finally, we retrieve the results of our SQL statement and close the connection to the database.
最后,我们将检索sql语句的结果并关闭数据库连接。
应用推荐