发布时间:2012-12-15 23:07:24
create function baobiaoreturns @baobiao table(cno char(4) primary key not null, cname char(8) not null, num int, maxgrade char(4), mingrade char(4), avggrade char(4))asbeginselect cname,cno,count(cno),max(grade), min(grade), avg(grade)from course,scwhere course.cno=sc.cnogro......【阅读全文】
发布时间:2012-12-14 22:22:12
declare @sum int,@i intset @sum=0set @i=1while @i<=100 and 7 mod 7=0 beginset @sum=@sum+@iset @i=@i+1endprint @sum 请问这段代码哪里错了......【阅读全文】