当前位置:国家开放大学(数据库基础与应用)题库

问题:

[问答题]

根据下面所给的AAA数据库,写出下列每条查询语句的执行结果,或者写出下列每条语句或程序段的功能。 假设存在名为AAA的数据库,包括Students(学号char(8),姓名varchar(8),年龄int,专业varchar(20),入学日期DateTime)和Score(学号char(8),课程名varchar(10),成绩numeric(5,2))两张表。

create procedure xxk3
as
begin
select学号,avg(成绩) as 平均成绩
from score
group by学号
end

根据下面所给的AAA数据库,写出下列每条查询语句的执行结果,或者写出下列每条语句或程序段的功能。 假设存在名为AAA的数据库,包括Students(学号char(8),姓名varchar(8),年龄int,专业varchar(20),入学日期DateTime)和Score(学号char(8),课程名varchar(10),成绩numeric(5,2))两张表。 create procedure xxk1 as begin select * from students x,score y where x.学号=y.学号 end 进口贸易是以信用证为主要支付方式,由于它是以符合信用证规定的货运单据为条件支付货款,所以有较大风险。 人的高级需要为人的选择和决策规定了最基本的目标。() 安全系统工程的优点? You need to back up all of the group policies in a domain.     The solution must minimize the size of the backup.     What should you use() ["the Add-WBSystemState cmdlet","the Group Policy Management console","the Wbadmin tool","the Windows Server Backup feature"]

根据下面所给的AAA数据库,写出下列每条查询语句的执行结果,或者写出下列每条语句或程序段的功能。 假设存在名为AAA的数据库,包括Students(学号char(8),姓名varchar(8),年龄int,专业varchar(20),入学日期DateTime)和Score(学号char(8),课程名varchar(10),成绩numeric(5,2))两张表。

create procedure xxk3
as
begin
select学号,avg(成绩) as 平均成绩
from score
group by学号
end

参考答案:

  参考解析

本题暂无解析

在线 客服