单项选择题
当你执行的SQL语句时,会发生()SELECT au_id,title_id,sum(royaltyp7.9er)FROM titleauthor GROUP BY title_id,au_id ORDER BY title_id,au_id
A.该语句会失败
B.在结果集中,对每一个不同的au_id的值和title_id的值的组合都会有一行
C.在结果集中,每一行中au_id的值都不会相同
D.在结果集中,每一行中title_id的值都不会相同
点击查看答案&解析
相关考题
-
多项选择题
建存储过程如下:CREATE procedure bookproc@id int,@title char(20)OUTPUT asselect @title=title from book where id=@id执行该存储过程的方法正确的是()
A.exec bookproc 1,@title output print @title
B.exec bookproc @id =1,@title output print @title
C.declare @title char(20)exec bookproc 1,@title output print @title
D.declare @title char(20)exec bookproc @id =1,@title output print @title -
多项选择题
创建存储过程的片断如下:Create procedure proc_score@passed int=60,@excellent int=90AS以下()调用方式是正确的。
A.Exec proc_score
B.Exec proc_score 60,90
C.Exec proc_score @passed=65,@excellent=95
D.Exec proc_score @passed=65 -
多项选择题
执行时,会在()出现错误。
A.第一行
B.第三行
C.第四行
D.第五行