第15464题 单选
判断给定Python SQLite3数据库操作代码的正确描述

执行数据库操作的部分Python代码如下:

import sqlite3
db = sqlite3.connect("test.db")
cur=db.cursor()
cur.execute("create table Student(Sname char(20),Sage SMALLINT);")
db.close()

下列描述正确的是?

A

当前操作的数据库的名称为Student

B

create table语句的功能是数据库查询

C

数据表中将会插入2条新记录

D

当前表中有2个字段

提交0次 正确率0.00%
答案解析