正在加载图片...
得 分 评卷人 五、根据下面所给的AAA数据库,写出每小题所能实现的功能。 (每小题5分,共10分) 假设使用名称为AAA的数据库,它包括students(学号char(8),姓名varchar(8),年龄 int,专业varchar(2o),入学日期DateTime)和score(学号char(8),课程名varchar(10),成绩 numeric(5,2)两张表。 1.create procedure xxkl as begin select from students x,score y where x.学号=y.学号 end 2.create procedure xxk6 ( @a char(8),@b varchar(10) as begin delete from score where学号=@aand课程名=@b end 410得分|评卷人 五、根据下面所结的 AAA数据库,写出每小题所能实现的功能。 {每小题 5分,共 0分) 假设使用名称为 A的数据库,它包括 ud (学号 (的,姓名 r c (的,年龄 int 业varchar(20) ,入学日期 )和 s c (学号 (的,课程名 (l ,成绩 numeric(5 张表 1. create procedure xxk1 as begin select from students x ,score y where x. 学号 end 2. create procedure xxk6 @a char( ,@b varchar(lO) as begin delete from score where 号=@a and 名=@b end 410
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有