简体   繁体   English

SQL代码:什么意思

[英]Sql code: What does it mean

I am a beginner at at this stuff. 我是这个东西的初学者。 Could you tell me what is happening at each step of the code below. 您能否告诉我下面代码的每个步骤正在发生什么。 Thank you. 谢谢。

码

It's connecting to a database, and executing a query. 它正在连接到数据库,并执行查询。 1. Creating a connection. 1.创建一个连接。 2. Opening that connection. 2.打开该连接。 3. Executing the sql query, command. 3.执行sql查询命令。 4. Iterating through the results and printing the the values of the 'name' attribute. 4.遍历结果并打印'name'属性的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM