A.从authors表中查询出city是beijin,且名为count的记录数目。
B.从authors表中查询出city 是beijin的第一条记录
C.从authors表中查询出city 是beijin 的所有记录
D.从authors表中查询出city是beijin的记录总数目。
您可能感兴趣的试卷
你可能感兴趣的试题
A.TRUNCATE TABLE 删除数据后可以恢复,而DELETE 不可以恢复
B.TRUNCATE TABLE 删除数据后不可以恢复,而DELETE 可以恢复
C.两者删除数据过后都可以恢复
D.两者删除数据后都不可以恢复
A.select * from authors where au_id =”72_-%”
B.select au_id=72_-% from authors
C.select * from authors where au_id like “72*-%”
D.select * from authors where au_id like “72_-%” _代表任意一个字符
A. select * from authors where au_name=”d”
B. select “d” from authors
C. select * from authors where au_name like “d%”
D. select au_name like “d%” from authors
A. select au_id from authors where price IN($15,:$20);
B. select au_id from authors where price between $15 and $20
C. select au_id from authors where price not between $15 and $20
D. select au_id from authors where price not IN($15,$20);
A. select au_id from authors where state IN(“ac”,:”sk”);
B. select au_id from authors where state between ac and sk
C. select au_id from authors where state not between ca and ks
D. select au_id from authors where state IN(“ca”,:”ks”);
A.sp_renamedb authors student
B.sp_rename authors student
C.sp_renamedata authors student
D.sp_renameview authors student
A.sp_spaceused authors
B.sp_depends authors
C.sp_help authors
D.sp_renamedb authors student
ALTER TABLE exa
ADD column_b VARCHAR(20) NULL
这条语句的语义为()
A.创建表格exa,使其增加一列
B.创建表格exa,使其删除一列
C.修改表格exa 定义,使其增加一列
D.修改表格 exa 定义,使其删除一列
A.256
B.64
C.108
D.128
ALTER DATABASE Company
MODIFY FILE (NAME=testdat3,SIZE=20MB)
上述语句实现的功能为()
A.将Company数据库中长度为20MB的testdat3数据文件设置为当前文件。
B.在Company数据库中创建一个20MB的名字为testdat3的数据文件。
C.将Company数据库中长度为20MB的testdat3数据文件删除
D.将Company数据库中testdat3数据文件的长度改为20MB
最新试题
在SQL中,删除操作有drop、truncate、delete,其中风险等级最高的是delete。
不同的用户合理地分配相应权限,能有效控制不同用户对不同数据的“增删秘方”权限,是保护数据的一种有效手段。
在insert语句中可以嵌入子查询,通过子查询将来自其他数据表的数据批量插入到所需的数据表中。
在实际应用中,为了防止新建视图与已存在的视图重名产生冲突,常用CREATE OR REPLACE VIEW来创建新视图。
参数的取名可以与数据表的列名相同。
MySQL权限管理分为两个阶段:服务器会检查是否允许你连接,检查你发出的每个请求,看是否有足够的权限实施它。
在以下选项中哪些属于视图的功能()
想要实现级联删除必须在数据外键上设置“级联”的更新或删除。
视图的意义:为用户集中提取数据、隐蔽数据库的复杂性,使操作简便化、增加数据的安全性、提高表的逻辑独立性。
MySQL变量可分为两大类,即用户变量和系统变量。