34,588
社区成员
发帖
与我相关
我的任务
分享
declare @num int --总数
set @num= select sum(Fraction) from Student where names='小红'
declare @num int --总数
set @num= (select sum(Fraction) from Student where names='小红')
declare @num int --总数
select @num= sum(Fraction) from Student where names='小红'