一.查询

二.修改

修改 多个元组的值   6  所有 学生 年龄增加   1岁.note

update student 

set sage=sage+1

3.5.1 插入 3.5.2 修改

带子查询的修改语句  7.note

 

update sc 

set grade=0

where 'cs'=

  (  select Sdept 

        from student

        where student.sno=sc.sno

      )  

 

update sc 

set grade=0

where 'cs' in

  (  select Sdept 

        from student

        where student.sno=sc.sno

      )  

3.5.1 插入 3.5.2 修改

 

相关文章:

  • 2022-01-08
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-06-02
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2021-09-22
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案