34,838
社区成员




update 成绩表
set 成绩=80
where 学号 = (select top 5 学生表.学号 from 学生表,成绩表,课程表
where 学生表.学号=成绩表.学号 and 成绩表.课程号=课程表.课程号 and 性别='男' and 先修课 is not null )
declare @xm money
select max(@xm) from (select @xm in (select 目前薪资 from 黄金员工表 where 姓名 like '王%'))a
declare @xm money
select @xm in(select max(目前薪资) from 黄金员工表 where 姓名 like '王%')
select max(@xm)
declare @xm money
select @xm in(select max(目前薪资) from 黄金员工表 where 姓名 like '王%')
select max(@xm)
update 成绩表
set 成绩=80
where 学号 in (select top 5 学生表.学号 from 学生表,成绩表,课程表
where 学生表.学号=成绩表.学号 and 成绩表.课程号=课程表.课程号 and 性别='男' and 先修课 is not null )
declare @xm money
select @xm in(select max(目前薪资) from 黄金员工表 where 姓名 like '王%')
select max(@xm)
update 成绩表
set 成绩=80
where 学号 in (select top 5 学生表.学号 from 学生表,成绩表,课程表
and 学生表.学号=成绩表.学号 and 成绩表.课程号=课程表.课程号 and 性别='男' and 先修课 is not null )
update 成绩表
set 成绩=80
where 学号 in (select top 5 学生表.学号 from 学生表,成绩表,课程表
where 学生表.学号=成绩表.学号 and 成绩表.课程号=课程表.课程号 and 性别='男' and 先修课 is not null )